public class OperationRetryHandlerFactory extends Object
Modifier and Type | Method and Description |
---|---|
static <FC extends FailureContext> |
createExponentialBackOffHandler(int numRetries,
long maxDelay,
long waitMillis)
Create exponential backoff handler
|
public static <FC extends FailureContext> BackOffRetryHandler<FC> 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–2018 Apache Software Foundation. All rights reserved.