Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.retry |
Modifier and Type | Field and Description |
---|---|
static RetryPolicy |
ClientConfiguration.DEFAULT_RETRY_POLICY
Default request retry policy, including the maximum retry count of 3, the
default retry condition and the default back-off strategy.
|
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
ClientConfiguration.getRetryPolicy()
Returns the retry policy upon failed requests.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConfiguration.setRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests.
|
ClientConfiguration |
ClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests, and returns the updated
ClientConfiguration object.
|
Modifier and Type | Field and Description |
---|---|
static RetryPolicy |
PredefinedRetryPolicies.DEFAULT
SDK default retry policy (except for AmazonDynamoDBClient,
whose constructor will replace the DEFAULT with DYNAMODB_DEFAULT.)
|
static RetryPolicy |
PredefinedRetryPolicies.DYNAMODB_DEFAULT
Default policy for DynamoDB client
|
static RetryPolicy |
PredefinedRetryPolicies.NO_RETRY_POLICY
No retry policy
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicy |
PredefinedRetryPolicies.getDefaultRetryPolicy()
Returns the SDK default retry policy.
|
static RetryPolicy |
PredefinedRetryPolicies.getDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
Returns the SDK default retry policy with the specified max retry count.
|
static RetryPolicy |
PredefinedRetryPolicies.getDynamoDBDefaultRetryPolicy()
Returns the default retry policy for DynamoDB client.
|
static RetryPolicy |
PredefinedRetryPolicies.getDynamoDBDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
Returns the default retry policy for DynamoDB client with the specified
max retry count.
|
Copyright © 2015. All rights reserved.