Class TestCompaction.WaitThroughPutController

java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController
org.apache.hadoop.hbase.regionserver.TestCompaction.WaitThroughPutController
All Implemented Interfaces:
org.apache.hadoop.hbase.regionserver.throttle.ThroughputController, org.apache.hadoop.hbase.Stoppable
Enclosing class:
TestCompaction

public static class TestCompaction.WaitThroughPutController extends org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController
Simple CompactionLifeCycleTracker on which you can wait until the requested compaction finishes.
  • Field Summary

    Fields inherited from class org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController

    INSTANCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    control(String compactionName, long size)
     

    Methods inherited from class org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController

    finish, isStopped, setup, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • control

      public long control(String compactionName, long size) throws InterruptedException
      Specified by:
      control in interface org.apache.hadoop.hbase.regionserver.throttle.ThroughputController
      Overrides:
      control in class org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController
      Throws:
      InterruptedException