| Package | Description |
|---|---|
| net.jodah.recurrent |
| Modifier and Type | Method and Description |
|---|---|
static <T> RecurrentFuture<T> |
Recurrent.get(Callable<T> callable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Invokes the
callable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(Callable<T> callable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor,
AsyncListeners<T> listeners)
Invokes the
callable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(Callable<T> callable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(Callable<T> callable,
RetryPolicy retryPolicy,
Scheduler scheduler,
AsyncListeners<T> listeners)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(ContextualCallable<T> callable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Invokes the
callable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(ContextualCallable<T> callable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor,
AsyncListeners<T> listeners)
Invokes the
callable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(ContextualCallable<T> callable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.get(ContextualCallable<T> callable,
RetryPolicy retryPolicy,
Scheduler scheduler,
AsyncListeners<T> listeners)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static RecurrentFuture<?> |
Recurrent.run(CheckedRunnable runnable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Invokes the
runnable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.run(CheckedRunnable runnable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor,
AsyncListeners<T> listeners)
Invokes the
runnable, scheduling retries with the executor according to the retryPolicy. |
static RecurrentFuture<?> |
Recurrent.run(CheckedRunnable runnable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
runnable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.run(CheckedRunnable runnable,
RetryPolicy retryPolicy,
Scheduler scheduler,
AsyncListeners<T> listeners)
Invokes the
runnable, scheduling retries with the scheduler according to the retryPolicy. |
static RecurrentFuture<?> |
Recurrent.run(ContextualRunnable runnable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Invokes the
runnable, scheduling retries with the executor according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.run(ContextualRunnable runnable,
RetryPolicy retryPolicy,
ScheduledExecutorService executor,
AsyncListeners<T> listeners)
Invokes the
runnable, scheduling retries with the executor according to the retryPolicy. |
static RecurrentFuture<?> |
Recurrent.run(ContextualRunnable runnable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
runnable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> RecurrentFuture<T> |
Recurrent.run(ContextualRunnable runnable,
RetryPolicy retryPolicy,
Scheduler scheduler,
AsyncListeners<T> listeners)
Invokes the
runnable, scheduling retries with the scheduler according to the retryPolicy. |
RecurrentFuture<T> |
RecurrentFuture.whenComplete(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when an invocation is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenComplete(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called when an invocation is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ContextualResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when an invocation is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ContextualResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when an invocation is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ResultListener<? super T,? extends Throwable> listener)
Registers the
listener to be called asynchronously when an invocation is completed. |
RecurrentFuture<T> |
RecurrentFuture.whenCompleteAsync(ResultListener<? super T,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously when an invocation 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 invocation. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccess(SuccessListener<? super T> listener)
Registers the
listener to be called after a successful invocation. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(ContextualSuccessListener<? super T> listener)
Registers the
listener to be called asynchronously after a successful invocation. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(ContextualSuccessListener<? super T> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously after a successful invocation. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(SuccessListener<? super T> listener)
Registers the
listener to be called asynchronously after a successful invocation. |
RecurrentFuture<T> |
RecurrentFuture.whenSuccessAsync(SuccessListener<? super T> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously after a successful invocation. |
Copyright © 2016. All Rights Reserved.