|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.compactions.NoLimitCompactionThroughputController
@InterfaceAudience.LimitedPrivate(value="Configuration") public class NoLimitCompactionThroughputController
A dummy CompactionThroughputController that does nothing.
Field Summary | |
---|---|
static NoLimitCompactionThroughputController |
INSTANCE
|
Constructor Summary | |
---|---|
NoLimitCompactionThroughputController()
|
Method Summary | |
---|---|
long |
control(String compactionName,
long size)
Control the compaction throughput. |
void |
finish(String compactionName)
Finish a compaction. |
boolean |
isStopped()
|
void |
setup(RegionServerServices server)
Setup controller for the given region server. |
void |
start(String compactionName)
Start a compaction. |
void |
stop(String why)
Stop this service. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final NoLimitCompactionThroughputController INSTANCE
Constructor Detail |
---|
public NoLimitCompactionThroughputController()
Method Detail |
---|
public void setup(RegionServerServices server)
CompactionThroughputController
setup
in interface CompactionThroughputController
public void start(String compactionName)
CompactionThroughputController
start
in interface CompactionThroughputController
public long control(String compactionName, long size) throws InterruptedException
CompactionThroughputController
control
in interface CompactionThroughputController
InterruptedException
public void finish(String compactionName)
CompactionThroughputController
finish
in interface CompactionThroughputController
public void stop(String why)
Stoppable
stop
in interface Stoppable
why
- Why we're stopping.public boolean isStopped()
isStopped
in interface Stoppable
Stoppable.stop(String)
has been closed.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |