Interface CircuitBreakerBuilder


public interface CircuitBreakerBuilder
A builder for CircuitBreaker.

Unlike CircuitBreaker.openHandler(Handler), CircuitBreaker.halfOpenHandler(Handler) and CircuitBreaker.closeHandler(Handler), the handlers configured through this builder are baked in as immutable when build() is called: calling the corresponding mutator method again on the built circuit breaker throws an IllegalStateException.

  • Method Details