| Package | Description |
|---|---|
| net.jodah.recurrent |
| Modifier and Type | Method and Description |
|---|---|
<T> CompletableFuture<T> |
AsyncRecurrent.future(ContextualCallable<CompletableFuture<T>> callable)
Invokes the
callable asynchronously until the resulting future is successfully completed or the configured
RetryPolicy is exceeded. |
<T> T |
SyncRecurrent.get(ContextualCallable<T> callable)
Invokes the
callable until a successful result is returned or the configured RetryPolicy is
exceeded. |
<T> RecurrentFuture<T> |
AsyncRecurrent.get(ContextualCallable<T> callable)
Invokes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
Copyright © 2016. All Rights Reserved.