| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
<T> FailsafeFuture<T> |
AsyncFailsafe.get(Callable<T> callable)
Executes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
<T> FailsafeFuture<T> |
AsyncFailsafe.get(ContextualCallable<T> callable)
Executes the
callable asynchronously until a successful result is returned 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. |
FailsafeFuture<Void> |
AsyncFailsafe.run(CheckedRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
FailsafeFuture<Void> |
AsyncFailsafe.run(ContextualRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
FailsafeFuture<Void> |
AsyncFailsafe.runAsync(AsyncRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
Copyright © 2018. All rights reserved.