Uses of Enum Class
org.apache.commons.lang3.concurrent.AbstractCircuitBreaker.State
Packages that use AbstractCircuitBreaker.State
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of AbstractCircuitBreaker.State in org.apache.commons.lang3.concurrent
Fields in org.apache.commons.lang3.concurrent with type parameters of type AbstractCircuitBreaker.StateModifier and TypeFieldDescriptionprotected final AtomicReference<AbstractCircuitBreaker.State>AbstractCircuitBreaker.stateThe current state of this circuit breaker.private static final Map<AbstractCircuitBreaker.State,EventCountCircuitBreaker.StateStrategy> EventCountCircuitBreaker.STRATEGY_MAPA map for accessing the strategy objects for the different states.Methods in org.apache.commons.lang3.concurrent that return AbstractCircuitBreaker.StateModifier and TypeMethodDescriptionabstract AbstractCircuitBreaker.StateAbstractCircuitBreaker.State.oppositeState()Returns the opposite state to the represented state.static AbstractCircuitBreaker.StateReturns the enum constant of this class with the specified name.static AbstractCircuitBreaker.State[]AbstractCircuitBreaker.State.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.commons.lang3.concurrent that return types with arguments of type AbstractCircuitBreaker.StateModifier and TypeMethodDescriptionprivate static Map<AbstractCircuitBreaker.State,EventCountCircuitBreaker.StateStrategy> EventCountCircuitBreaker.createStrategyMap()Creates the map with strategy objects.Methods in org.apache.commons.lang3.concurrent with parameters of type AbstractCircuitBreaker.StateModifier and TypeMethodDescriptionprotected voidAbstractCircuitBreaker.changeState(AbstractCircuitBreaker.State newState) Changes the internal state of this circuit breaker.private voidEventCountCircuitBreaker.changeStateAndStartNewCheckInterval(AbstractCircuitBreaker.State newState) Changes the state of this circuit breaker and also initializes a newCheckIntervalDataobject.protected static booleanAbstractCircuitBreaker.isOpen(AbstractCircuitBreaker.State state) Converts the given state value to a boolean open property.EventCountCircuitBreaker.nextCheckIntervalData(int increment, EventCountCircuitBreaker.CheckIntervalData currentData, AbstractCircuitBreaker.State currentState, long time) Calculates the nextCheckIntervalDataobject based on the current data and the current state.private static EventCountCircuitBreaker.StateStrategyEventCountCircuitBreaker.stateStrategy(AbstractCircuitBreaker.State state) Returns theStateStrategyobject responsible for the given state.