@Deprecated public class RetriableTask<T> extends Object implements Callable<T>
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_NUMBER_OF_RETRIES
Deprecated.
|
static String |
DEFAULT_WAIT_TIME
Deprecated.
|
static long |
INFINITE
Deprecated.
|
| Constructor and Description |
|---|
RetriableTask(Callable<T> task)
Deprecated.
|
RetriableTask(long numberOfRetries,
Callable<T> task)
Deprecated.
|
RetriableTask(long numberOfRetries,
String timeToWaitBetween,
Callable<T> task)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
T |
call()
Deprecated.
|
RetriableTask<T> |
infinite()
Deprecated.
|
RetriableTask<T> |
message(String msg)
Deprecated.
|
RetriableTask<T> |
retries(long retries)
Deprecated.
|
RetriableTask<T> |
timeToWait(String timeToWaitBetween)
Deprecated.
|
public static final long DEFAULT_NUMBER_OF_RETRIES
public static final String DEFAULT_WAIT_TIME
public static final long INFINITE
public RetriableTask<T> retries(long retries)
public RetriableTask<T> infinite()
public RetriableTask<T> timeToWait(String timeToWaitBetween)
public RetriableTask<T> message(String msg)
Copyright © 2017. All rights reserved.