| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncExecution
Tracks asynchronous executions and allows retries to be scheduled according to a
RetryPolicy. |
class |
Execution
Tracks executions and determines when an execution can be performed for a
RetryPolicy. |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractExecution |
PolicyExecutor.execution |
| Modifier and Type | Method and Description |
|---|---|
PolicyExecutor<Policy<R>> |
Policy.toExecutor(AbstractExecution execution)
Returns an
PolicyExecutor capable of performing an execution in the context of a Policy and handling
results according to the Policy. |
PolicyExecutor |
Fallback.toExecutor(AbstractExecution execution) |
PolicyExecutor |
Timeout.toExecutor(AbstractExecution execution) |
PolicyExecutor |
RetryPolicy.toExecutor(AbstractExecution execution) |
PolicyExecutor |
CircuitBreaker.toExecutor(AbstractExecution execution) |
| Constructor and Description |
|---|
PolicyExecutor(P policy,
AbstractExecution execution) |
Copyright © 2020. All rights reserved.