|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.hbase.regionserver.compactions.PressureAwareCompactionThroughputController
@InterfaceAudience.LimitedPrivate(value="Configuration") public class PressureAwareCompactionThroughputController
A throughput controller which uses the follow schema to limit throughput
Store.getCompactionPressure()| Constructor Summary | |
|---|---|
PressureAwareCompactionThroughputController()
|
|
| Method Summary | |
|---|---|
long |
control(String compactionName,
long size)
Control the compaction throughput. |
void |
finish(String compactionName)
Finish a compaction. |
boolean |
isStopped()
|
void |
setConf(org.apache.hadoop.conf.Configuration conf)
|
void |
setup(RegionServerServices server)
Setup controller for the given region server. |
void |
start(String compactionName)
Start a compaction. |
void |
stop(String why)
|
String |
toString()
|
| Methods inherited from class org.apache.hadoop.conf.Configured |
|---|
getConf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_HIGHER_BOUND
public static final String HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_LOWER_BOUND
public static final String HBASE_HSTORE_COMPACTION_MAX_THROUGHPUT_OFFPEAK
public static final String HBASE_HSTORE_COMPACTION_THROUGHPUT_TUNE_PERIOD
| Constructor Detail |
|---|
public PressureAwareCompactionThroughputController()
| Method Detail |
|---|
public void setup(RegionServerServices server)
CompactionThroughputController
setup in interface CompactionThroughputControllerpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.conf.Configuredpublic void start(String compactionName)
CompactionThroughputController
start in interface CompactionThroughputController
public long control(String compactionName,
long size)
throws InterruptedException
CompactionThroughputController
control in interface CompactionThroughputControllerInterruptedExceptionpublic void finish(String compactionName)
CompactionThroughputController
finish in interface CompactionThroughputControllerpublic void stop(String why)
stop in interface Stoppablepublic boolean isStopped()
isStopped in interface Stoppablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||