Uses of Enum
org.apache.commons.lang3.concurrent.AbstractCircuitBreaker.State
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of AbstractCircuitBreaker.State in org.apache.commons.lang3.concurrent
Modifier and TypeFieldDescriptionprotected final AtomicReference<AbstractCircuitBreaker.State>
AbstractCircuitBreaker.state
The current state of this circuit breaker.Modifier and TypeMethodDescriptionabstract AbstractCircuitBreaker.State
AbstractCircuitBreaker.State.oppositeState()
Returns the opposite state to the represented state.static AbstractCircuitBreaker.State
Returns the enum constant of this type with the specified name.static AbstractCircuitBreaker.State[]
AbstractCircuitBreaker.State.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionprotected void
AbstractCircuitBreaker.changeState
(AbstractCircuitBreaker.State newState) Changes the internal state of this circuit breaker.protected static boolean
AbstractCircuitBreaker.isOpen
(AbstractCircuitBreaker.State state) Converts the given state value to a boolean open property.