Interface ThroughputController

All Superinterfaces:
Stoppable
All Known Implementing Classes:
NoLimitThroughputController, PressureAwareCompactionThroughputController, PressureAwareFlushThroughputController, PressureAwareThroughputController

@LimitedPrivate("Configuration") public interface ThroughputController extends Stoppable
A utility that constrains the total throughput of one or more simultaneous flows by sleeping when necessary.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    control(String name, long size)
    Control the throughput.
    void
    finish(String name)
    Finish the controller.
    void
    Setup controller for the given region server.
    void
    start(String name)
    Start the throughput controller.

    Methods inherited from interface org.apache.hadoop.hbase.Stoppable

    isStopped, stop