private void notifyCountUpdated(CircuitBreakerListener listener, EventCount count) {
        try {
            final String name = name();
            listener.onEventCountUpdated(name, count);
            // Deprecated but still supported for backward compatibility.
            //noinspection deprecation
            listener.onEventCountUpdated(name,
                                         com.linecorp.armeria.client.circuitbreaker.EventCount.of(
                                                 count.success(), count.failure()));
        } catch (Throwable t) {
            logger.warn("An error occurred when notifying an EventCountUpdated event", t);
        }
    }
Creates a new {@link NonBlockingCircuitBreaker} with the specified {@link Ticker} and
{@link CircuitBreakerConfig}.
core/src/main/java/com/linecorp/armeria/client/circuitbreaker/NonBlockingCircuitBreaker.java