Interface CircuitBreaker

All Superinterfaces:
FtHandler, RuntimeType.Api<CircuitBreakerConfig>

public interface CircuitBreaker extends FtHandler, RuntimeType.Api<CircuitBreakerConfig>
CircuitBreaker protects a potentially failing endpoint from overloading and the application from spending resources on those endpoints.

In case too many errors are detected, the circuit opens and all new requests fail with a CircuitBreakerOpenException for a period of time. After this period, attempts are made to check if the service is up again - if so, the circuit closes and requests can process as usual again.