| Package | Description |
|---|---|
| com.amazonaws.retry | |
| utils.retry |
| Modifier and Type | Class and Description |
|---|---|
static class |
PredefinedRetryPolicies.SDKDefaultRetryCondition
The default implementation of RetryCondition used by the SDK.
|
static class |
RetryPolicyTestBase.ContextDataCollectionRetryCondition |
| Modifier and Type | Field and Description |
|---|---|
static RetryPolicy.RetryCondition |
PredefinedRetryPolicies.DEFAULT_RETRY_CONDITION
The SDK default retry condition, which checks for various conditions in
the following order:
Never retry on requests with non-repeatable content;
Retry on client exceptions caused by IOException;
Retry on service exceptions that are either 500 internal server
errors, 503 service unavailable errors, service throttling errors or
clock skew errors.
|
static RetryPolicy.RetryCondition |
RetryPolicy.RetryCondition.NO_RETRY_CONDITION |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy.RetryCondition |
RetryPolicy.getRetryCondition()
Returns the retry condition included in this retry policy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RetryPolicy.RetryPolicyBuilder.setRetryCondition(RetryPolicy.RetryCondition retryCondition) |
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withRetryCondition(RetryPolicy.RetryCondition retryCondition)
Set the retry condition on whether a specific request and exception should be retried.
|
| Constructor and Description |
|---|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig)
Constructs a new retry policy.
|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
boolean honorDefaultMaxErrorRetryInRetryMode,
boolean honorBackoffStrategyInRetryMode) |
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
RetryMode retryMode) |
| Modifier and Type | Class and Description |
|---|---|
class |
AlwaysRetryCondition
RetryPolicy.RetryCondition used in tests to always retry regardless of exception |
Copyright © 2023. All rights reserved.