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
Subclasses with type arguments of type CircuitBreaker.State in dev.failsafeMethods in dev.failsafe that return CircuitBreaker.StateModifier and TypeMethodDescriptionCircuitBreaker.getState()Gets the state of the circuit.static CircuitBreaker.StateReturns 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.StateCircuitBreakerStateChangedEvent.previousStateMethods 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.StateCircuitState.getState()ClosedState.getState()HalfOpenState.getState()OpenState.getState()Methods in dev.failsafe.internal with parameters of type CircuitBreaker.StateModifier and TypeMethodDescriptionprotected voidCircuitBreakerImpl.transitionTo(CircuitBreaker.State newState, EventListener<CircuitBreakerStateChangedEvent> listener, ExecutionContext<R> context) Transitions to thenewStateif not already in that state and calls any associated event listener.