Uses of Enum
dev.failsafe.CircuitBreaker.State
Packages that use CircuitBreaker.State
Package
Description
APIs for performing failsafe executions.
Event listener types.
-
Uses of CircuitBreaker.State in dev.failsafe
Methods in dev.failsafe that return CircuitBreaker.StateModifier and TypeMethodDescriptionCircuitBreaker.getState()
Gets the state of the circuit.static CircuitBreaker.State
Returns the enum constant of this type with the specified name.static CircuitBreaker.State[]
CircuitBreaker.State.values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of CircuitBreaker.State in dev.failsafe.event
Fields in dev.failsafe.event declared as CircuitBreaker.StateModifier and TypeFieldDescriptionprivate final CircuitBreaker.State
CircuitBreakerStateChangedEvent.previousState
Methods in dev.failsafe.event that return CircuitBreaker.StateModifier and TypeMethodDescriptionCircuitBreakerStateChangedEvent.getPreviousState()
Returns the previous state of the circuit breaker.Constructors in dev.failsafe.event with parameters of type CircuitBreaker.StateModifierConstructorDescriptionCircuitBreakerStateChangedEvent
(CircuitBreaker.State previousState) -
Uses of CircuitBreaker.State in dev.failsafe.internal
Methods in dev.failsafe.internal that return CircuitBreaker.StateModifier and TypeMethodDescriptionCircuitBreakerImpl.getState()
abstract CircuitBreaker.State
CircuitState.getState()
ClosedState.getState()
HalfOpenState.getState()
OpenState.getState()
Methods in dev.failsafe.internal with parameters of type CircuitBreaker.StateModifier and TypeMethodDescriptionprotected void
CircuitBreakerImpl.transitionTo
(CircuitBreaker.State newState, EventListener<CircuitBreakerStateChangedEvent> listener, ExecutionContext<R> context) Transitions to thenewState
if not already in that state and calls any associated event listener.