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) |
public NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
public long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
getBackoffTime
in interface ClientBackoffPolicy
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.