Class TestClientExponentialBackoff

java.lang.Object
org.apache.hadoop.hbase.client.TestClientExponentialBackoff

@Tag("org.apache.hadoop.hbase.testclassification.ClientTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests") public class TestClientExponentialBackoff extends Object
  • Field Details

    • server

      org.apache.hadoop.hbase.ServerName server
    • regionname

      byte[] regionname
  • Constructor Details

  • Method Details

    • testNulls

      @Test public void testNulls()
    • testMaxLoad

      @Test public void testMaxLoad()
    • testResultOrdering

      @Test public 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.
    • testHeapOccupancyPolicy

      @Test public void testHeapOccupancyPolicy()
    • testCompactionPressurePolicy

      @Test public void testCompactionPressurePolicy()
    • update

      private void update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int load)
    • update

      private void update(org.apache.hadoop.hbase.client.backoff.ServerStatistics stats, int memstoreLoad, int heapOccupancy, int compactionPressure)