public class RetryDuration extends Object implements AppendStrategy
| Constructor and Description |
|---|
RetryDuration(long duration,
int retryTimes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
needToAppend(HostAddress host,
Properties properties) |
static void |
removeFromFailureRecords(HostAddress host) |
String |
toString() |
static void |
updateMaxDuration(long newDuration) |
public boolean needToAppend(HostAddress host, Properties properties)
needToAppend in interface AppendStrategypublic static void removeFromFailureRecords(HostAddress host)
public static void updateMaxDuration(long newDuration)
Copyright © 2022 oceanbase.com. All rights reserved.