public interface BackoffStrategy
RetryPolicy
that defines a strategy for backing off between retries.Modifier and Type | Method and Description |
---|---|
long |
computeDelayBeforeNextRetry(RetryPolicyContext context)
Compute the delay before the next retry request.
|
long computeDelayBeforeNextRetry(RetryPolicyContext context)
context
- Context about the state of the last request and information about the number of requests made.Copyright © 2018. All rights reserved.