Interface ClientBackoffPolicy

All Known Implementing Classes:
ClientBackoffPolicyFactory.NoBackoffPolicy, ExponentialClientBackoffPolicy

@Public public interface ClientBackoffPolicy
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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
    Returns the number of ms to wait on the client based on the