org.apache.hadoop.hbase.client.backoff
Class ClientBackoffPolicyFactory.NoBackoffPolicy

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
BACKOFF_POLICY_CLASS
 
Constructor Summary
ClientBackoffPolicyFactory.NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
 long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientBackoffPolicyFactory.NoBackoffPolicy

public ClientBackoffPolicyFactory.NoBackoffPolicy(org.apache.hadoop.conf.Configuration conf)
Method Detail

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.