public class TestClientExponentialBackoff extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) byte[] |
regionname |
(package private) org.apache.hadoop.hbase.ServerName |
server |
Constructor and Description |
---|
TestClientExponentialBackoff() |
Modifier and Type | Method and Description |
---|---|
void |
testCompactionPressurePolicy() |
void |
testHeapOccupancyPolicy() |
void |
testMaxLoad() |
void |
testNulls() |
void |
testResultOrdering()
Make sure that we get results in the order that we expect - backoff for a load of 1 should
less than backoff for 10, which should be less than that for 50.
|
private void |
update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats,
int load) |
private void |
update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats,
int memstoreLoad,
int heapOccupancy,
int compactionPressure) |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.hbase.ServerName server
byte[] regionname
public TestClientExponentialBackoff()
public void testNulls()
public void testMaxLoad()
public void testResultOrdering()
public void testHeapOccupancyPolicy()
public void testCompactionPressurePolicy()
private void update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int load)
private void update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int memstoreLoad, int heapOccupancy, int compactionPressure)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.