public class OperationRetryHandlerFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BackOffRetryHandler |
createExponentialBackOffHandler(int numRetries,
long maxDelay,
long waitMillis)
Create exponential backoff handler
|
public static BackOffRetryHandler createExponentialBackOffHandler(int numRetries, long maxDelay, long waitMillis)
numRetries - Number of exponential backoff retriesmaxDelay - Maximum delay an operation can wait for nextwaitMillis - Number of millis that would grow exponentially incase of failuresCopyright © 2014–2016 Apache Software Foundation. All rights reserved.