Package | Description |
---|---|
com.amazonaws.retry |
Modifier and Type | Interface and Description |
---|---|
interface |
V2CompatibleBackoffStrategy
Adapter interface for backoff strategies that can be used in both legacy RetryPolicies and the new V2 retry policy.
|
Modifier and Type | Class and Description |
---|---|
static class |
PredefinedBackoffStrategies.EqualJitterBackoffStrategy |
static class |
PredefinedBackoffStrategies.ExponentialBackoffStrategy |
static class |
PredefinedBackoffStrategies.FullJitterBackoffStrategy |
static class |
PredefinedBackoffStrategies.SDKDefaultBackoffStrategy
A private class that implements the default back-off strategy.
|
Modifier and Type | Field and Description |
---|---|
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.DEFAULT_BACKOFF_STRATEGY
The SDK default back-off strategy, which increases exponentially up to a max amount of delay.
|
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.DYNAMODB_DEFAULT_BACKOFF_STRATEGY
The default back-off strategy for DynamoDB client, which increases
exponentially up to a max amount of delay.
|
static RetryPolicy.BackoffStrategy |
RetryPolicy.BackoffStrategy.NO_DELAY |
Modifier and Type | Method and Description |
---|---|
RetryPolicy.BackoffStrategy |
RetryPolicy.getBackoffStrategy()
Returns the back-off strategy included in this retry policy.
|
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) |
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
RetryMode retryMode) |
Copyright © 2020. All rights reserved.