|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.LimitedPrivate(value="Configuration") public interface CompactionThroughputController
A utility that constrains the total throughput of one or more simultaneous flows (compactions) by sleeping when necessary.
Method Summary | |
---|---|
long |
control(String compactionName,
long size)
Control the compaction throughput. |
void |
finish(String compactionName)
Finish a compaction. |
void |
setup(RegionServerServices server)
Setup controller for the given region server. |
void |
start(String compactionName)
Start a compaction. |
Methods inherited from interface org.apache.hadoop.hbase.Stoppable |
---|
isStopped, stop |
Method Detail |
---|
void setup(RegionServerServices server)
void start(String compactionName)
long control(String compactionName, long size) throws InterruptedException
InterruptedException
void finish(String compactionName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |