public final class MultipleLinearRandomRetry extends Object implements RetryPolicy
RetryPolicy.Action, RetryPolicy.EventNO_RETRY_ACTION, RETRY_WITHOUT_SLEEP_ACTION| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object that) |
RetryPolicy.Action |
handleAttemptFailure(RetryPolicy.Event event)
Determines whether it is supposed to retry after the operation has failed.
|
int |
hashCode() |
static MultipleLinearRandomRetry |
parseCommaSeparated(String input)
Parse the given string as a MultipleLinearRandomRetry object.
|
String |
toString() |
public RetryPolicy.Action handleAttemptFailure(RetryPolicy.Event event)
RetryPolicyhandleAttemptFailure 在接口中 RetryPolicyevent - The failed event.public static MultipleLinearRandomRetry parseCommaSeparated(String input)
Copyright © 2017–2021 The Apache Software Foundation. All rights reserved.