public class ExponentialBackoff extends Object implements RetryStrategy
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MAX_BACKOFF |
static long |
DEFAULT_MIN_BACKOFF |
static int |
DEFAULT_RETRY_COUNT |
static long |
DEFAULT_SLOT_TIME |
| Constructor and Description |
|---|
ExponentialBackoff() |
ExponentialBackoff(int maxRetries) |
ExponentialBackoff(int maxRetries,
long minBackoff,
long maxBackoff,
long slotTime) |
public static final int DEFAULT_RETRY_COUNT
public static final long DEFAULT_MIN_BACKOFF
public static final long DEFAULT_MAX_BACKOFF
public static final long DEFAULT_SLOT_TIME
public ExponentialBackoff()
public ExponentialBackoff(int maxRetries,
long minBackoff,
long maxBackoff,
long slotTime)
public ExponentialBackoff(int maxRetries)
public RetryState getRetryState()
RetryStrategygetRetryState in interface RetryStrategyCopyright © 2015. All rights reserved.