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.State
CircuitBreaker. getState()
Gets the state of the circuit.static CircuitBreaker.State
CircuitBreaker.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.State
CircuitBreakerStateChangedEvent. previousState
Methods in dev.failsafe.event that return CircuitBreaker.State Modifier and Type Method Description CircuitBreaker.State
CircuitBreakerStateChangedEvent. 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.State
CircuitBreakerImpl. getState()
abstract CircuitBreaker.State
CircuitState. getState()
CircuitBreaker.State
ClosedState. getState()
CircuitBreaker.State
HalfOpenState. getState()
CircuitBreaker.State
OpenState. getState()
Methods in dev.failsafe.internal with parameters of type CircuitBreaker.State Modifier and Type Method Description protected 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.
-