| Package | Description |
|---|---|
| net.jodah.recurrent |
| Modifier and Type | Method and Description |
|---|---|
<T> RecurrentFuture<T> |
AsyncRecurrent.get(Callable<T> callable)
Executes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
<T> RecurrentFuture<T> |
AsyncRecurrent.get(ContextualCallable<T> callable)
Executes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
<T> RecurrentFuture<T> |
AsyncRecurrent.getAsync(AsyncCallable<T> callable)
Executes the
callable asynchronously until a successful result is returned or the configured
RetryPolicy is exceeded. |
RecurrentFuture<Void> |
AsyncRecurrent.run(CheckedRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
RecurrentFuture<Void> |
AsyncRecurrent.run(ContextualRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
RecurrentFuture<Void> |
AsyncRecurrent.runAsync(AsyncRunnable runnable)
Executes the
runnable asynchronously until successful or until the configured RetryPolicy is
exceeded. |
RecurrentFuture<T> |
RecurrentFuture.whenComplete(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenComplete(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ContextualResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when an execution is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenFailure(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when the retry policy is exceeded and the result is a failure. |
RecurrentFuture<T> |
RecurrentFuture.whenFailure(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when the retry policy is exceeded and the result is a failure. |
RecurrentFuture<T> |
RecurrentFuture.whenFailureAsync(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when the retry policy is exceeded and the result is a
failure. |
RecurrentFuture<T> |
RecurrentFuture.whenFailureAsync(ContextualResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when the retry policy is exceeded and the result is a
failure. |
RecurrentFuture<T> |
RecurrentFuture.whenFailureAsync(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when the retry policy is exceeded and the result is a
failure. |
RecurrentFuture<T> |
RecurrentFuture.whenFailureAsync(ResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when the retry policy is exceeded and the result is a
failure. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccess(ContextualSuccessListener<? super T> listener)
Registers the
listener to be called after a successful execution. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccess(SuccessListener<? super T> listener)
Registers the
listener to be called after a successful execution. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(ContextualSuccessListener<? super T> listener)
Registers the
listener to be called asynchronously after a successful execution. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(ContextualSuccessListener<? super T> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously after a successful execution. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(SuccessListener<? super T> listener)
Registers the
listener to be called asynchronously after a successful execution. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(SuccessListener<? super T> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously after a successful execution. |
Copyright © 2016. All Rights Reserved.