@InterfaceAudience.LimitedPrivate(value="Configuration") public interface CompactionThroughputController extends Stoppable
Modifier and Type | Method and Description |
---|---|
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.
|
void setup(RegionServerServices server)
void start(String compactionName)
long control(String compactionName, long size) throws InterruptedException
InterruptedException
void finish(String compactionName)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.