static class TestAsyncProcess.MyClientBackoffPolicy extends Object implements org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
Modifier and Type | Field and Description |
---|---|
private Map<org.apache.hadoop.hbase.ServerName,AtomicInteger> |
count |
Constructor and Description |
---|
MyClientBackoffPolicy() |
Modifier and Type | Method and Description |
---|---|
long |
getBackoffTime(org.apache.hadoop.hbase.ServerName serverName,
byte[] region,
org.apache.hadoop.hbase.client.backoff.ServerStatistics stats) |
private final Map<org.apache.hadoop.hbase.ServerName,AtomicInteger> count
MyClientBackoffPolicy()
public long getBackoffTime(org.apache.hadoop.hbase.ServerName serverName, byte[] region, org.apache.hadoop.hbase.client.backoff.ServerStatistics stats)
getBackoffTime
in interface org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicy
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.