Package | Description |
---|---|
org.apache.commons.lang3.concurrent |
Provides support classes for multi-threaded programming.
|
Modifier and Type | Field and Description |
---|---|
protected AtomicReference<AbstractCircuitBreaker.State> |
AbstractCircuitBreaker.state
The current state of this circuit breaker.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractCircuitBreaker.State |
AbstractCircuitBreaker.State.oppositeState()
Returns the opposite state to the represented state.
|
static AbstractCircuitBreaker.State |
AbstractCircuitBreaker.State.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCircuitBreaker.changeState(AbstractCircuitBreaker.State newState)
Changes the internal state of this circuit breaker.
|
protected static boolean |
AbstractCircuitBreaker.isOpen(AbstractCircuitBreaker.State state)
Converts the given state value to a boolean open property.
|
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.