@InterfaceAudience.Public @InterfaceStability.Unstable public class ExponentialClientBackoffPolicy extends Object implements ClientBackoffPolicy
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
DEFAULT_MAX_BACKOFF |
static String |
MAX_BACKOFF_KEY |
BACKOFF_POLICY_CLASS| 构造器和说明 |
|---|
ExponentialClientBackoffPolicy(org.apache.hadoop.conf.Configuration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getBackoffTime(ServerName serverName,
byte[] region,
ServerStatistics stats) |
public static final long DEFAULT_MAX_BACKOFF
public ExponentialClientBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
public long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
getBackoffTime 在接口中 ClientBackoffPolicyCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.