@InterfaceAudience.Public public class ExponentialClientBackoffPolicy extends Object implements ClientBackoffPolicy
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_BACKOFF |
static String |
MAX_BACKOFF_KEY |
BACKOFF_POLICY_CLASS
Constructor and Description |
---|
ExponentialClientBackoffPolicy(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
long |
getBackoffTime(ServerName serverName,
byte[] region,
ServerStatistics stats) |
public static final long DEFAULT_MAX_BACKOFF
public static final String MAX_BACKOFF_KEY
public ExponentialClientBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
public long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
getBackoffTime
in interface ClientBackoffPolicy
Copyright © 2007–2019 Cloudera. All rights reserved.