public final class OrRetryCondition extends Object implements RetryCondition
Modifier and Type | Method and Description |
---|---|
static OrRetryCondition |
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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
defaultRetryCondition, none
public boolean shouldRetry(RetryPolicyContext context)
RetryCondition
shouldRetry
in interface RetryCondition
context
- Context about the state of the last request and information about the number of requests made.public static OrRetryCondition create(RetryCondition... conditions)
Copyright © 2019. All rights reserved.