| Package | Description |
|---|---|
| net.jodah.recurrent |
| Modifier and Type | Method and Description |
|---|---|
static Scheduler |
Schedulers.of(ScheduledExecutorService executor)
Returns a Scheduler adapted from the
executor. |
| Modifier and Type | Method and Description |
|---|---|
static <T> CompletableFuture<T> |
Recurrent.future(Callable<CompletableFuture<T>> callable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> CompletableFuture<T> |
Recurrent.future(Callable<CompletableFuture<T>> callable,
RetryPolicy retryPolicy,
Scheduler scheduler,
AsyncListeners<T> listeners)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> CompletableFuture<T> |
Recurrent.future(ContextualCallable<CompletableFuture<T>> callable,
RetryPolicy retryPolicy,
Scheduler scheduler)
Invokes the
callable, scheduling retries with the scheduler according to the retryPolicy. |
static <T> CompletableFuture<T> |
Recurrent.future(ContextualCallable<CompletableFuture<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(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,
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,
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,
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. |
Copyright © 2016. All Rights Reserved.