Uses of Class
org.apache.commons.lang3.concurrent.EventCountCircuitBreaker
Packages that use EventCountCircuitBreaker
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of EventCountCircuitBreaker in org.apache.commons.lang3.concurrent
Methods in org.apache.commons.lang3.concurrent with parameters of type EventCountCircuitBreakerModifier and TypeMethodDescriptionprotected abstract longEventCountCircuitBreaker.AbstractStateStrategy.fetchCheckInterval(EventCountCircuitBreaker breaker) Obtains the check interval to applied for the represented state from the givenCircuitBreaker.protected longEventCountCircuitBreaker.StateStrategyClosed.fetchCheckInterval(EventCountCircuitBreaker breaker) Obtains the check interval to applied for the represented state from the givenCircuitBreaker.protected longEventCountCircuitBreaker.StateStrategyOpen.fetchCheckInterval(EventCountCircuitBreaker breaker) Obtains the check interval to applied for the represented state from the givenCircuitBreaker.booleanEventCountCircuitBreaker.AbstractStateStrategy.isCheckIntervalFinished(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, long now) Tests whether the end of the current check interval is reached.abstract booleanEventCountCircuitBreaker.AbstractStateStrategy.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Tests whether the specifiedEventCountCircuitBreaker.CheckIntervalDataobjects indicate that a state transition should occur.booleanEventCountCircuitBreaker.StateStrategyClosed.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Tests whether the specifiedEventCountCircuitBreaker.CheckIntervalDataobjects indicate that a state transition should occur.booleanEventCountCircuitBreaker.StateStrategyOpen.isStateTransition(EventCountCircuitBreaker breaker, EventCountCircuitBreaker.CheckIntervalData currentData, EventCountCircuitBreaker.CheckIntervalData nextData) Tests whether the specifiedEventCountCircuitBreaker.CheckIntervalDataobjects indicate that a state transition should occur.