org.apache.hadoop.hbase.client.backoff
Class ClientBackoffPolicyFactory.NoBackoffPolicy
java.lang.Object
org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicyFactory.NoBackoffPolicy
- All Implemented Interfaces:
- ClientBackoffPolicy
- Enclosing class:
- ClientBackoffPolicyFactory
public static class ClientBackoffPolicyFactory.NoBackoffPolicy
- extends Object
- implements ClientBackoffPolicy
Default backoff policy that doesn't create any backoff for the client, regardless of load
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientBackoffPolicyFactory.NoBackoffPolicy
public ClientBackoffPolicyFactory.NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
getBackoffTime
public long getBackoffTime(ServerName serverName,
byte[] region,
ServerStatistics stats)
- Specified by:
getBackoffTime
in interface ClientBackoffPolicy
- Returns:
- the number of ms to wait on the client based on the
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.