Uses of Class
dev.failsafe.CircuitBreaker.State
-
Packages that use CircuitBreaker.State Package Description dev.failsafe APIs for performing failsafe executions.dev.failsafe.event Event listener types.dev.failsafe.internal -
-
Uses of CircuitBreaker.State in dev.failsafe
Methods in dev.failsafe that return CircuitBreaker.State Modifier and Type Method Description CircuitBreaker.StateCircuitBreaker. getState()Gets the state of the circuit.static CircuitBreaker.StateCircuitBreaker.State. valueOf(java.lang.String name)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.State Modifier and Type Field Description private CircuitBreaker.StateCircuitBreakerStateChangedEvent. previousStateMethods in dev.failsafe.event that return CircuitBreaker.State Modifier and Type Method Description CircuitBreaker.StateCircuitBreakerStateChangedEvent. getPreviousState()Returns the previous state of the circuit breaker.Constructors in dev.failsafe.event with parameters of type CircuitBreaker.State Constructor Description CircuitBreakerStateChangedEvent(CircuitBreaker.State previousState) -
Uses of CircuitBreaker.State in dev.failsafe.internal
Methods in dev.failsafe.internal that return CircuitBreaker.State Modifier and Type Method Description CircuitBreaker.StateCircuitBreakerImpl. getState()abstract CircuitBreaker.StateCircuitState. getState()CircuitBreaker.StateClosedState. getState()CircuitBreaker.StateHalfOpenState. getState()CircuitBreaker.StateOpenState. getState()Methods in dev.failsafe.internal with parameters of type CircuitBreaker.State Modifier and Type Method Description protected 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.
-