public final class ExceptionsCondition extends Object implements RetryCondition
| Modifier and Type | Method and Description |
|---|---|
static ExceptionsCondition |
create(Class<? extends Exception>... exceptionsToRetryOn) |
static ExceptionsCondition |
create(Set<Class<? extends Exception>> exceptionsToRetryOn) |
boolean |
shouldRetry(RetryPolicyContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultRetryCondition, none, requestSucceeded, requestWillNotBeRetriedpublic boolean shouldRetry(RetryPolicyContext context)
shouldRetry in interface RetryConditionpublic static ExceptionsCondition create(Set<Class<? extends Exception>> exceptionsToRetryOn)
public static ExceptionsCondition create(Class<? extends Exception>... exceptionsToRetryOn)
Copyright © 2022. All rights reserved.