Class RetryOnErrorCodeCondition
java.lang.Object
software.amazon.awssdk.awscore.retry.conditions.RetryOnErrorCodeCondition
- All Implemented Interfaces:
RetryCondition
Retry condition implementation that retries if the exception or the cause of the exception matches the error codes defined.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RetryOnErrorCodeConditionstatic RetryOnErrorCodeConditionbooleanshouldRetry(RetryPolicyContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.retry.conditions.RetryCondition
requestSucceeded, requestWillNotBeRetried
-
Method Details
-
shouldRetry
- Specified by:
shouldRetryin interfaceRetryCondition
-
create
-
create
-