Interface ClientBackoffPolicy
- All Known Implementing Classes:
ClientBackoffPolicyFactory.NoBackoffPolicy
,ExponentialClientBackoffPolicy
Configurable policy for the amount of time a client should wait for a new request to the server
when given the server load statistics.
Must have a single-argument constructor that takes a Configuration
-
Field 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
-
Field Details
-
BACKOFF_POLICY_CLASS
- See Also:
-
-
Method Details
-
getBackoffTime
Returns the number of ms to wait on the client based on the
-