| Package | Description |
|---|---|
| com.amazonaws.retry | |
| com.amazonaws.retry.v2 |
| Modifier and Type | Method and Description |
|---|---|
long |
PredefinedBackoffStrategies.FullJitterBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
long |
PredefinedBackoffStrategies.EqualJitterBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
long |
PredefinedBackoffStrategies.ExponentialBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
long |
PredefinedBackoffStrategies.SDKDefaultBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
long |
RetryPolicyAdapter.computeDelayBeforeNextRetry(RetryPolicyContext context) |
boolean |
RetryPolicyAdapter.isRetryable(RetryPolicyContext context) |
boolean |
RetryPolicyAdapter.maxRetriesExceeded(RetryPolicyContext context) |
boolean |
RetryPolicyAdapter.shouldRetry(RetryPolicyContext context) |
| Modifier and Type | Field and Description |
|---|---|
static RetryPolicyContext |
RetryPolicyContexts.EMPTY
Empty context object.
|
static RetryPolicyContext |
RetryPolicyContexts.LEGACY |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicyContext |
RetryPolicyContext.Builder.build() |
static RetryPolicyContext |
RetryPolicyContexts.fromLegacy(AmazonClientException exception,
AmazonWebServiceRequest origRequest,
int retriesAttempted) |
static RetryPolicyContext |
RetryPolicyContexts.withException(SdkBaseException e) |
static RetryPolicyContext |
RetryPolicyContexts.withRetriesAttempted(int retriesAttempted) |
static RetryPolicyContext |
RetryPolicyContexts.withStatusCode(Integer httpStatusCode) |
| Modifier and Type | Method and Description |
|---|---|
long |
BackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context)
Compute the delay before the next retry request.
|
long |
FixedDelayBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
long |
SimpleRetryPolicy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
boolean |
AndRetryCondition.shouldRetry(RetryPolicyContext context) |
boolean |
MaxNumberOfRetriesCondition.shouldRetry(RetryPolicyContext context) |
boolean |
OrRetryCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryCondition.shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried.
|
boolean |
RetryOnExceptionsCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryOnStatusCodeCondition.shouldRetry(RetryPolicyContext context) |
boolean |
SimpleRetryPolicy.shouldRetry(RetryPolicyContext context) |
Copyright © 2023. All rights reserved.