Package org.apache.hadoop.hbase.client
Class TestClientExponentialBackoff
java.lang.Object
org.apache.hadoop.hbase.client.TestClientExponentialBackoff
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule(package private) byte[](package private) org.apache.hadoop.hbase.ServerName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidMake 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 voidupdate(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int load) private voidupdate(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)
-