public interface CircuitBreaker
| Modifier and Type | Field and Description |
|---|---|
static int |
CIRCUIT_CHECK_INTERVAL_IN_MILLIS |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakerState |
currentState() |
default int |
getCheckIntervalMillis() |
<T> T |
run(java.util.concurrent.Callable<T> callable)
Runs callable and breaks it when circuit breaker is closed
|
static final int CIRCUIT_CHECK_INTERVAL_IN_MILLIS
CircuitBreakerState currentState()
<T> T run(java.util.concurrent.Callable<T> callable)
T - callable - default int getCheckIntervalMillis()