RetryPolicyAndRetryCondition, MaxNumberOfRetriesCondition, OrRetryCondition, RetryOnExceptionsCondition, RetryOnStatusCodeCondition, RetryPolicyAdapter, SimpleRetryPolicypublic interface RetryCondition
RetryPolicy used to define when a request should be retried.| Modifier and Type | Method | Description |
|---|---|---|
boolean |
shouldRetry(RetryPolicyContext context) |
Determine whether a request should or should not be retried.
|
boolean shouldRetry(RetryPolicyContext context)
context - Context about the state of the last request and information about the number of requests made.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.