public final class MaxRetriesCondition extends Object implements RetryCondition
| Modifier and Type | Method and Description |
|---|---|
static MaxRetriesCondition |
create(int maxNumberOfRetries) |
boolean |
shouldRetry(RetryPolicyContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultRetryCondition, none, requestSucceeded, requestWillNotBeRetriedpublic static MaxRetriesCondition create(int maxNumberOfRetries)
public boolean shouldRetry(RetryPolicyContext context)
shouldRetry in interface RetryConditionCopyright © 2022. All rights reserved.