Package org.apache.hadoop.hbase.client
Class TestClientExponentialBackoff
java.lang.Object
org.apache.hadoop.hbase.client.TestClientExponentialBackoff
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) byte[]
(package private) org.apache.hadoop.hbase.ServerName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
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)
-
Field Details
-
CLASS_RULE
-
server
org.apache.hadoop.hbase.ServerName server -
regionname
byte[] regionname
-
-
Constructor Details
-
TestClientExponentialBackoff
public TestClientExponentialBackoff()
-
-
Method Details
-
testNulls
-
testMaxLoad
-
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. -
testHeapOccupancyPolicy
-
testCompactionPressurePolicy
-
update
-
update
private void update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int memstoreLoad, int heapOccupancy, int compactionPressure)
-