public class NetworkRetryPolicy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_BACKOFF_MULT
The default backoff multiplier.
|
static long |
DEFAULT_DELAY_BEFORE_RETRY
The default delay before retry a request (in ms).
|
static int |
DEFAULT_RETRY_COUNT
The default number of retry attempts.
|
| Constructor and Description |
|---|
NetworkRetryPolicy() |
NetworkRetryPolicy(int retryCount,
long delayBeforeRetry,
float backOffMultiplier) |
| Modifier and Type | Method and Description |
|---|---|
long |
getDelayBeforeRetry() |
int |
getRetryCount() |
void |
retry(SpiceException e) |
public static final int DEFAULT_RETRY_COUNT
public static final long DEFAULT_DELAY_BEFORE_RETRY
public static final float DEFAULT_BACKOFF_MULT