| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| net.jodah.failsafe.util |
Utilities.
|
| Modifier and Type | Method and Description |
|---|---|
Duration |
RetryPolicy.getDelay()
Returns the delay between retries.
|
Duration |
CircuitBreaker.getDelay()
Returns the delay before allowing another execution on the circuit.
|
Duration |
ExecutionContext.getElapsedTime()
Returns the elapsed time since initial execution began.
|
Duration |
RetryPolicy.getJitter()
Returns the jitter, else
null if none has been configured. |
Duration |
RetryPolicy.getMaxDelay()
Returns the max delay between backoff retries.
|
Duration |
RetryPolicy.getMaxDuration()
Returns the max duration to perform retries for.
|
Duration |
ExecutionContext.getStartTime()
Returns the time that the initial execution started.
|
Duration |
CircuitBreaker.getTimeout()
Returns timeout for executions else
null if none has been configured. |
| Modifier and Type | Field and Description |
|---|---|
static Duration |
Duration.NONE |
Copyright © 2017. All Rights Reserved.