public class ExponentialBackoffStrategy extends Object implements BackoffStrategy
| Constructor and Description |
|---|
ExponentialBackoffStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
getMillisToWait(int numberOfTriesFailed,
Duration delayBetweenAttempts) |
public long getMillisToWait(int numberOfTriesFailed,
Duration delayBetweenAttempts)
getMillisToWait in interface BackoffStrategyCopyright © 2015. All rights reserved.