public class FixedDelayBackoffStrategy extends Object implements BackoffStrategy
Constructor and Description |
---|
FixedDelayBackoffStrategy(int fixedBackoff) |
Modifier and Type | Method and Description |
---|---|
long |
computeDelayBeforeNextRetry(RetryPolicyContext context)
Compute the delay before the next retry request.
|
public long computeDelayBeforeNextRetry(RetryPolicyContext context)
BackoffStrategy
computeDelayBeforeNextRetry
in interface BackoffStrategy
context
- Context about the state of the last request and information about the number of requests made.Copyright © 2021. All rights reserved.