public static EventCount of(long success, long failure) {
        if (success == 0 && failure == 0) {
            return ZERO;
        }

        return new EventCount(success, failure);
    }
Returns a new {@link EventCount} with the specified number of successes and failures.
core/src/main/java/com/linecorp/armeria/common/util/EventCount.java