Modifier and Type | Method and Description |
---|---|
static RetryPolicy.ExponentialBuilder |
RetryPolicy.exponential(long duration,
TimeUnit unit)
Setup an exponential backoff retry policy.
|
RetryPolicy.ExponentialBuilder |
RetryPolicy.ExponentialBuilder.factor(double factor)
Factor to use when increasing the retry delay.
|
RetryPolicy.ExponentialBuilder |
RetryPolicy.ExponentialBuilder.max(long duration,
TimeUnit unit)
Max possible delay.
|
Copyright © 2017. All rights reserved.