Package io.github.resilience4j.circuitbreaker
@NonNullApi
@NonNullFields
package io.github.resilience4j.circuitbreaker
-
ClassDescriptionA
CallNotPermittedExceptionsignals that the CircuitBreaker is HALF_OPEN or OPEN and a call is not permitted to be executed.A CircuitBreaker instance is thread-safe can be used to decorate multiple requests.This class decorates future to add CircuitBreaking functionality around invocation.An EventPublisher can be used to register event consumers.States of the CircuitBreaker state machine.State transitions of the CircuitBreaker state machine.ACircuitBreakerConfigconfigures aCircuitBreakerResult of theCircuitBreakerConfig.getTransitionOnResult()function with which one can tell the circuit breaker to transition to a different state if the result of a call meet the desired criteria.TheCircuitBreakerRegistryis a factory to create CircuitBreaker instances which stores all CircuitBreaker instances in a registry.AIllegalStateTransitionExceptionsignals that someone tried to trigger an illegal state transition..AResultRecordedAsFailureExceptionsignals that a result has been recorded as a circuit breaker failure.