Uses of Class
org.apache.commons.lang3.concurrent.EventCountCircuitBreaker.CheckIntervalData
Packages that use EventCountCircuitBreaker.CheckIntervalData
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of EventCountCircuitBreaker.CheckIntervalData in org.apache.commons.lang3.concurrent
Fields in org.apache.commons.lang3.concurrent with type parameters of type EventCountCircuitBreaker.CheckIntervalDataModifier and TypeFieldDescriptionprivate final AtomicReference<EventCountCircuitBreaker.CheckIntervalData>EventCountCircuitBreaker.checkIntervalDataStores information about the current check interval.Methods in org.apache.commons.lang3.concurrent that return EventCountCircuitBreaker.CheckIntervalDataModifier and TypeMethodDescriptionEventCountCircuitBreaker.CheckIntervalData.increment(int delta) Returns a new instance ofCheckIntervalDatawith the event counter incremented by the given delta.EventCountCircuitBreaker.nextCheckIntervalData(int increment, EventCountCircuitBreaker.CheckIntervalData currentData, AbstractCircuitBreaker.State currentState, long time) Calculates the nextCheckIntervalDataobject based on the current data and the current state.Methods in org.apache.commons.lang3.concurrent with parameters of type EventCountCircuitBreaker.CheckIntervalDataModifier and TypeMethodDescriptionbooleanEventCountCircuitBreaker.StateStrategy.isCheckIntervalFinished(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, long now) Returns a flag whether the end of the current check interval is reached.abstract booleanEventCountCircuitBreaker.StateStrategy.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Checks whether the specifiedCheckIntervalDataobjects indicate that a state transition should occur.booleanEventCountCircuitBreaker.StateStrategyClosed.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Checks whether the specifiedCheckIntervalDataobjects indicate that a state transition should occur.booleanEventCountCircuitBreaker.StateStrategyOpen.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Checks whether the specifiedCheckIntervalDataobjects indicate that a state transition should occur.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 booleanEventCountCircuitBreaker.updateCheckIntervalData(EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Updates theCheckIntervalDataobject.