@InterfaceAudience.Public public interface ClientBackoffPolicy
Must have a single-argument constructor that takes a Configuration
Modifier and Type | Field and Description |
---|---|
static String |
BACKOFF_POLICY_CLASS |
Modifier and Type | Method and Description |
---|---|
long |
getBackoffTime(ServerName serverName,
byte[] region,
ServerStatistics stats)
Returns the number of ms to wait on the client based on the
|
static final String BACKOFF_POLICY_CLASS
long getBackoffTime(ServerName serverName, byte[] region, ServerStatistics stats)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.