public final class AndRetryCondition extends Object implements RetryCondition
RetryCondition that evaluates to true when all contained retry conditions evaluate to true.| Modifier and Type | Method and Description |
|---|---|
static AndRetryCondition |
create(RetryCondition... conditions) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried.
|
String |
toString() |
defaultRetryCondition, nonepublic boolean shouldRetry(RetryPolicyContext context)
RetryConditionshouldRetry in interface RetryConditioncontext - Context about the state of the last request and information about the number of requests made.public static AndRetryCondition create(RetryCondition... conditions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.