Interface | Description |
---|---|
RetryPolicy.BackoffStrategy |
The hook for providing custom back-off strategy to control the sleep time
between retries.
|
RetryPolicy.RetryCondition |
The hook for providing custom condition on whether a failed request
should be retried.
|
V2CompatibleBackoffStrategy |
Adapter interface for backoff strategies that can be used in both legacy RetryPolicies and the new V2 retry policy.
|
Class | Description |
---|---|
AmazonHttpClientRetryPolicyTest |
Tests that
AmazonHttpClient#executeHelper() method passes the correct
context information into the configured RetryPolicy. |
ClientConfigurationMaxErrorRetryTest |
Tests the behavior when both
ClientConfiguration.setMaxErrorRetry(int) and
ClientConfiguration.setRetryPolicy(RetryPolicy) are used. |
FixedTimeBackoffStrategy |
Test implementation of
RetryPolicy.BackoffStrategy to wait a fixed time between retries |
PredefinedBackoffStrategies |
This class includes a set of pre-defined backoff policies.
|
PredefinedBackoffStrategies.EqualJitterBackoffStrategy | |
PredefinedBackoffStrategies.ExponentialBackoffStrategy | |
PredefinedBackoffStrategies.FullJitterBackoffStrategy | |
PredefinedBackoffStrategies.SDKDefaultBackoffStrategy |
A private class that implements the default back-off strategy.
|
PredefinedBackoffStrategiesTest | |
PredefinedRetryPolicies |
This class includes a set of pre-defined retry policies, including default
policies used by SDK.
|
PredefinedRetryPolicies.SDKDefaultRetryCondition |
The default implementation of RetryCondition used by the SDK.
|
RetryPolicy |
Retry policy that can be configured on a specific service client using
ClientConfiguration . |
RetryPolicyAdapter |
Adapts a legacy
RetryPolicy to the new RetryPolicy . |
RetryPolicyAdapterTest | |
RetryPolicyTestBase |
Some utility class and method for testing RetryCondition
|
RetryPolicyTestBase.ContextDataCollectionBackoffStrategy | |
RetryPolicyTestBase.ContextDataCollectionRetryCondition | |
RetryPolicyTestBase.MockHttpClient |
A base abstract class for fake HttpClient implementations
|
RetryPolicyTestBase.ReturnServiceErrorHttpClient |
A mock HttpClient implementation that does nothing but directly returns a
BasicHttpResponse object with the specified status code upon any call on
execute(...) method.
|
RetryPolicyTestBase.TestAmazonWebServiceRequest | |
RetryPolicyTestBase.TestHttpResponseHandler |
An error response handler implementation that simply
- keeps the status code
- sets the error code by the status text (which comes from the reason phrase in the low-level response)
|
RetryPolicyTestBase.ThrowingExceptionHttpClient |
A mock HttpClient implementation that does nothing but throws the
specified IOException or RuntimeException upon any call on execute(...)
method.
|
RetryUtils | |
RetryUtilsTest | |
SDKDefaultRetryConditionTest |
Copyright © 2018. All rights reserved.