Java com.amazonaws.retry PredefinedRetryPolicies fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.retry PredefinedRetryPolicies fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.retry PredefinedRetryPolicies.

The text is from its open source code.

Field

intDEFAULT_MAX_ERROR_RETRY
SDK default max retry count
RetryPolicy.RetryConditionDEFAULT_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.
RetryPolicy.BackoffStrategyDEFAULT_BACKOFF_STRATEGY
The SDK default back-off strategy, which increases exponentially up to a max amount of delay.

Method

RetryPolicygetDefaultRetryPolicy()
Returns the SDK default retry policy.
RetryPolicygetDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
Returns the SDK default retry policy with the specified max retry count.