Package io.github.resilience4j.circuitbreaker
@NonNullApi
@NonNullFields
package io.github.resilience4j.circuitbreaker
-
ClassDescriptionA
CallNotPermittedException
signals 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.ACircuitBreakerConfig
configures aCircuitBreaker
Result 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.TheCircuitBreakerRegistry
is a factory to create CircuitBreaker instances which stores all CircuitBreaker instances in a registry.AIllegalStateTransitionException
signals that someone tried to trigger an illegal state transition..AResultRecordedAsFailureException
signals that a result has been recorded as a circuit breaker failure.