public static class RetryPolicies.RetryLimited extends RetryPolicies.RetryForeverWithSleep
RetryPolicy.Action, RetryPolicy.EventNO_RETRY_ACTION, RETRY_WITHOUT_SLEEP_ACTION| Modifier and Type | Method and Description |
|---|---|
int |
getMaxAttempts() |
RetryPolicy.Action |
handleAttemptFailure(RetryPolicy.Event event)
Determines whether it is supposed to retry after the operation has failed.
|
String |
toString() |
public int getMaxAttempts()
public RetryPolicy.Action handleAttemptFailure(RetryPolicy.Event event)
RetryPolicyhandleAttemptFailure in interface RetryPolicyhandleAttemptFailure in class RetryPolicies.RetryForeverWithSleepevent - The failed event.public String toString()
toString in class RetryPolicies.RetryForeverWithSleepCopyright © 2017–2022 The Apache Software Foundation. All rights reserved.