public class RetryWithBackoff extends RetryStrategy
|Modifier and Type||Class and Description|
A provider for this retry strategy.
|Modifier||Constructor and Description|
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 retry
limit- the max sleep time. if sleep time reaches this limit, we stop retrying
Copyright © 2016 The Apache Software Foundation. All rights reserved.