public class RetryOnErrorCodeCondition extends Object implements RetryCondition
DEFAULT, NONE| Constructor and Description |
|---|
RetryOnErrorCodeCondition(Set<String> retryableErrorCodes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, orpublic boolean shouldRetry(RetryPolicyContext context)
RetryConditionshouldRetry in interface RetryConditioncontext - 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.