public static final class RetryPolicies.RetryLimited extends RetryPolicies.RetryForeverWithSleep
RetryPolicy.Action, RetryPolicy.EventNO_RETRY_ACTION, RETRY_WITHOUT_SLEEP_ACTION| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 RetryPolicyhandleAttemptFailure 在类中 RetryPolicies.RetryForeverWithSleepevent - The failed event.public String toString()
Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.