@InterfaceAudience.LimitedPrivate(value="Configuration") public class NoLimitThroughputController extends Object implements ThroughputController
| 限定符和类型 | 字段和说明 |
|---|---|
static NoLimitThroughputController |
INSTANCE |
| 构造器和说明 |
|---|
NoLimitThroughputController() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 ThroughputControllerpublic void start(String compactionName)
ThroughputControllerstart 在接口中 ThroughputControllerpublic long control(String compactionName, long size) throws InterruptedException
ThroughputControllercontrol 在接口中 ThroughputControllerInterruptedExceptionpublic void finish(String compactionName)
ThroughputControllerfinish 在接口中 ThroughputControllerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.