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) |
int |
escapeTime(RetryPolicyContext context) |
boolean |
meetState(RetryPolicyContext context) |
public boolean meetState(RetryPolicyContext context)
meetState in interface RetryConditionpublic int escapeTime(RetryPolicyContext context)
escapeTime in interface RetryConditionpublic static ExceptionsCondition create(Set<Class<? extends Exception>> exceptionsToRetryOn)
public static ExceptionsCondition create(Class<? extends Exception>... exceptionsToRetryOn)
Copyright © 2022. All rights reserved.