public class Recurrent<T> extends Object
RetryPolicy.| Constructor and Description |
|---|
Recurrent() |
| Modifier and Type | Method and Description |
|---|---|
static SyncRecurrent |
with(RetryPolicy retryPolicy)
Creates and returns a new Recurrent instance that will perform invocations and retries synchronously according to
the
retryPolicy. |
static AsyncRecurrent |
with(RetryPolicy retryPolicy,
ScheduledExecutorService executor)
Creates and returns a new Recurrent instance that will perform invocations and retries asynchronously via the
executor according to the retryPolicy. |
static AsyncRecurrent |
with(RetryPolicy retryPolicy,
Scheduler scheduler)
Creates and returns a new Recurrent instance that will perform invocations and retries asynchronously via the
scheduler according to the retryPolicy. |
public static SyncRecurrent with(RetryPolicy retryPolicy)
retryPolicy.public static AsyncRecurrent with(RetryPolicy retryPolicy, ScheduledExecutorService executor)
executor according to the retryPolicy.public static AsyncRecurrent with(RetryPolicy retryPolicy, Scheduler scheduler)
scheduler according to the retryPolicy.Copyright © 2016. All Rights Reserved.