public class PredefinedRetryPolicies extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PredefinedRetryPolicies.SDKDefaultRetryConditionThe default implementation of RetryCondition used by the SDK. | 
| Modifier and Type | Field and Description | 
|---|---|
| static RetryPolicy | DEFAULTSDK default retry policy. | 
| static RetryPolicy.BackoffStrategy | DEFAULT_BACKOFF_STRATEGYThe SDK default back-off strategy, which increases exponentially up to a max amount of delay. | 
| static V2CompatibleBackoffStrategy | DEFAULT_BACKOFF_STRATEGY_V2The SDK default back-off strategy, which increases exponentially up to a max amount of delay. | 
| static int | DEFAULT_MAX_ERROR_RETRYSDK default max retry count for legacy retry mode | 
| static int | DEFAULT_MAX_ERROR_RETRY_STANDARD_MODESDK default max retry count for standard retry mode | 
| static RetryPolicy.RetryCondition | DEFAULT_RETRY_CONDITIONThe 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 | DYNAMODB_DEFAULTDefault policy for DynamoDB client | 
| static RetryPolicy.BackoffStrategy | DYNAMODB_DEFAULT_BACKOFF_STRATEGYThe default back-off strategy for DynamoDB client, which increases
 exponentially up to a max amount of delay. | 
| static int | DYNAMODB_DEFAULT_MAX_ERROR_RETRYStandard max retry count for DynamoDB client for DynamoDB client | 
| static RetryPolicy | NO_RETRY_POLICYNo retry policy | 
| Constructor and Description | 
|---|
| PredefinedRetryPolicies() | 
| Modifier and Type | Method and Description | 
|---|---|
| static RetryPolicy.BackoffStrategy | getDefaultBackoffStrategy(RetryMode retryMode) | 
| static RetryPolicy | getDefaultRetryPolicy()Returns the SDK default retry policy. | 
| static RetryPolicy | getDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)Returns the SDK default retry policy with the specified max retry count. | 
| static RetryPolicy | getDynamoDBDefaultRetryPolicy()Returns the default retry policy for DynamoDB client. | 
| static RetryPolicy | getDynamoDBDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)Returns the default retry policy for DynamoDB client with the specified
 max retry count. | 
public static final RetryPolicy NO_RETRY_POLICY
public static final int DEFAULT_MAX_ERROR_RETRY
public static final int DEFAULT_MAX_ERROR_RETRY_STANDARD_MODE
public static final RetryPolicy DEFAULT
ClientConfiguration is provided.public static final int DYNAMODB_DEFAULT_MAX_ERROR_RETRY
public static final RetryPolicy DYNAMODB_DEFAULT
public static final RetryPolicy.RetryCondition DEFAULT_RETRY_CONDITION
public static final RetryPolicy.BackoffStrategy DEFAULT_BACKOFF_STRATEGY
public static final V2CompatibleBackoffStrategy DEFAULT_BACKOFF_STRATEGY_V2
public static final RetryPolicy.BackoffStrategy DYNAMODB_DEFAULT_BACKOFF_STRATEGY
public static RetryPolicy.BackoffStrategy getDefaultBackoffStrategy(RetryMode retryMode)
public static RetryPolicy getDefaultRetryPolicy()
public static RetryPolicy getDynamoDBDefaultRetryPolicy()
public static RetryPolicy getDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
public static RetryPolicy getDynamoDBDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)