Package | Description |
---|---|
org.apache.commons.lang3.concurrent |
Provides support classes for multi-threaded programming.
|
Modifier and Type | Class and Description |
---|---|
private static class |
EventCountCircuitBreaker.StateStrategyClosed
A specialized
StateStrategy implementation for the state closed. |
private static class |
EventCountCircuitBreaker.StateStrategyOpen
A specialized
StateStrategy implementation for the state open. |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<AbstractCircuitBreaker.State,EventCountCircuitBreaker.StateStrategy> |
EventCountCircuitBreaker.STRATEGY_MAP
A map for accessing the strategy objects for the different states.
|
Modifier and Type | Method and Description |
---|---|
private static EventCountCircuitBreaker.StateStrategy |
EventCountCircuitBreaker.stateStrategy(AbstractCircuitBreaker.State state)
Returns the
StateStrategy object responsible for the given state. |
Modifier and Type | Method and Description |
---|---|
private static java.util.Map<AbstractCircuitBreaker.State,EventCountCircuitBreaker.StateStrategy> |
EventCountCircuitBreaker.createStrategyMap()
Creates the map with strategy objects.
|