| Package | Description |
|---|---|
| fish.payara.microprofile.faulttolerance.state |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakerState.CircuitState |
CircuitBreakerState.getCircuitState()
Gets the current circuit state.
|
static CircuitBreakerState.CircuitState |
CircuitBreakerState.CircuitState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CircuitBreakerState.CircuitState[] |
CircuitBreakerState.CircuitState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CircuitBreakerState.setCircuitState(CircuitBreakerState.CircuitState circuitState)
Sets the CircuitBreaker state to the provided enum value.
|
long |
CircuitBreakerState.updateAndGet(CircuitBreakerState.CircuitState circuitState)
Updates if the current state equals the provided and returns the amount of nanos.
|
Copyright © 2019. All rights reserved.