public class RetryOptions extends java.lang.Object implements IMiddlewareControl
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_DELAY |
static int |
DEFAULT_MAX_RETRIES |
static IShouldRetry |
DEFAULT_SHOULD_RETRY |
static long |
MAX_DELAY |
static int |
MAX_RETRIES |
| Constructor and Description |
|---|
RetryOptions() |
RetryOptions(IShouldRetry shouldRetry,
int maxRetries,
long delay) |
| Modifier and Type | Method and Description |
|---|---|
long |
delay() |
int |
maxRetries() |
IShouldRetry |
shouldRetry() |
public static final IShouldRetry DEFAULT_SHOULD_RETRY
public static final int MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES
public static final long DEFAULT_DELAY
public static final long MAX_DELAY
public RetryOptions()
public RetryOptions(IShouldRetry shouldRetry, int maxRetries, long delay)
public IShouldRetry shouldRetry()
public int maxRetries()
public long delay()