public final class FixedDelayBackoffStrategy extends Object implements BackoffStrategy
Constructor and Description |
---|
FixedDelayBackoffStrategy(Duration fixedBackoff) |
Modifier and Type | Method and Description |
---|---|
Duration |
computeDelayBeforeNextRetry(RetryPolicyContext context)
Compute the delay before the next retry request.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
calculateExponentialDelay, defaultStrategy, none
public FixedDelayBackoffStrategy(Duration fixedBackoff)
public Duration 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.