public final class RetryOnErrorCodeCondition extends Object implements RetryCondition
| Modifier and Type | Method and Description |
|---|---|
static RetryOnErrorCodeCondition |
create(Set<String> retryableErrorCodes) |
static RetryOnErrorCodeCondition |
create(String... retryableErrorCodes) |
boolean |
shouldRetry(RetryPolicyContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultRetryCondition, nonepublic boolean shouldRetry(RetryPolicyContext context)
shouldRetry in interface RetryConditionpublic static RetryOnErrorCodeCondition create(String... retryableErrorCodes)
public static RetryOnErrorCodeCondition create(Set<String> retryableErrorCodes)
Copyright © 2019. All rights reserved.