public static class ClientBackoffPolicyFactory.NoBackoffPolicy extends Object implements ClientBackoffPolicy
BACKOFF_POLICY_CLASS
Constructor and Description |
---|
NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
long |
getBackoffTime(ServerName serverName,
byte[] region,
ServerStatistics stats)
Returns the number of ms to wait on the client based on the
|
public NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
public long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
ClientBackoffPolicy
getBackoffTime
in interface ClientBackoffPolicy
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.