@InterfaceAudience.LimitedPrivate(value="Configuration") public class NoLimitThroughputController extends Object implements ThroughputController
| Modifier and Type | Field and Description |
|---|---|
static NoLimitThroughputController |
INSTANCE |
| Constructor and Description |
|---|
NoLimitThroughputController() |
| Modifier and Type | Method and Description |
|---|---|
long |
control(String compactionName,
long size)
Control the throughput.
|
void |
finish(String compactionName)
Finish the controller.
|
boolean |
isStopped() |
void |
setup(RegionServerServices server)
Setup controller for the given region server.
|
void |
start(String compactionName)
Start the throughput controller.
|
void |
stop(String why) |
String |
toString() |
public static final NoLimitThroughputController INSTANCE
public void setup(RegionServerServices server)
ThroughputControllersetup in interface ThroughputControllerpublic void start(String compactionName)
ThroughputControllerstart in interface ThroughputControllerpublic long control(String compactionName, long size) throws InterruptedException
ThroughputControllercontrol in interface ThroughputControllerInterruptedExceptionpublic void finish(String compactionName)
ThroughputControllerfinish in interface ThroughputControllerCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.