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
-
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
BACKOFF_POLICY_CLASS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getBackoffTime
(ServerName serverName, byte[] region, ServerStatistics stats) Returns the number of ms to wait on the client based on the
-
Constructor Details
-
NoBackoffPolicy
-
-
Method Details
-
getBackoffTime
Description copied from interface:ClientBackoffPolicy
Returns the number of ms to wait on the client based on the- Specified by:
getBackoffTime
in interfaceClientBackoffPolicy
-