| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
<T> CompletableFuture<T> |
AsyncFailsafe.futureAsync(AsyncCallable<? extends CompletionStage<T>> callable)
Executes the
callable asynchronously until the resulting future is successfully completed or the configured
RetryPolicy is exceeded. |
<T> FailsafeFuture<T> |
AsyncFailsafe.getAsync(AsyncCallable<T> callable)
Executes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
Copyright © 2018. All rights reserved.