public class RetryWithBackoff extends RetryStrategy
Modifier and Type | Class and Description |
---|---|
static class |
RetryWithBackoff.Provider
A provider for this retry strategy.
|
Modifier | Constructor and Description |
---|---|
protected |
RetryWithBackoff(int initial,
int backoff,
int limit) |
protected RetryWithBackoff(int initial, int backoff, int limit)
initial
- the initial sleep time (before first retry)backoff
- the backoff factor by which sleep time is multiplied
after each retrylimit
- the max sleep time. if sleep time reaches this limit, we
stop retryingCopyright © 2016 The Apache Software Foundation. All rights reserved.