Uses of Class
org.apache.commons.lang3.concurrent.AbstractCircuitBreaker.State
-
Packages that use AbstractCircuitBreaker.State Package Description org.apache.commons.lang3.concurrent 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.State Modifier and Type Field Description protected java.util.concurrent.atomic.AtomicReference<AbstractCircuitBreaker.State>AbstractCircuitBreaker. stateThe current state of this circuit breaker.private static java.util.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.State Modifier and Type Method Description abstract AbstractCircuitBreaker.StateAbstractCircuitBreaker.State. oppositeState()Returns the opposite state to the represented state.static AbstractCircuitBreaker.StateAbstractCircuitBreaker.State. valueOf(java.lang.String name)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.Methods in org.apache.commons.lang3.concurrent that return types with arguments of type AbstractCircuitBreaker.State Modifier and Type Method Description private static java.util.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.State Modifier and Type Method Description protected 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.private EventCountCircuitBreaker.CheckIntervalDataEventCountCircuitBreaker. 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.
-