public class FibonacciBackoffStrategy extends Object implements BackoffStrategy
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_NUM_OF_FIB_NUMBERS |
| Constructor and Description |
|---|
FibonacciBackoffStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getFibonacciNumbers() |
long |
getMillisToWait(int numberOfTriesFailed,
Duration delayBetweenAttempts) |
public static final int MAX_NUM_OF_FIB_NUMBERS
public long getMillisToWait(int numberOfTriesFailed,
Duration delayBetweenAttempts)
getMillisToWait in interface BackoffStrategyCopyright © 2015. All rights reserved.