Class NoLimitThroughputController
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController
- All Implemented Interfaces:
ThroughputController,Stoppable
@LimitedPrivate("Configuration")
public class NoLimitThroughputController
extends Object
implements ThroughputController
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongControl the throughput.voidFinish the controller.booleanReturns True ifStoppable.stop(String)has been closed.voidsetup(RegionServerServices server) Setup controller for the given region server.voidStart the throughput controller.voidStop this service.toString()
-
Field Details
-
INSTANCE
-
stopped
-
-
Constructor Details
-
NoLimitThroughputController
public NoLimitThroughputController()
-
-
Method Details
-
setup
Description copied from interface:ThroughputControllerSetup controller for the given region server.- Specified by:
setupin interfaceThroughputController
-
start
Description copied from interface:ThroughputControllerStart the throughput controller.- Specified by:
startin interfaceThroughputController
-
control
Description copied from interface:ThroughputControllerControl the throughput. Will sleep if too fast.- Specified by:
controlin interfaceThroughputController- Returns:
- the actual sleep time.
- Throws:
InterruptedException
-
finish
Description copied from interface:ThroughputControllerFinish the controller. Should call this method in a finally block.- Specified by:
finishin interfaceThroughputController
-
stop
Description copied from interface:StoppableStop this service. Implementers should favor logging errors over throwing RuntimeExceptions. -
isStopped
Description copied from interface:StoppableReturns True ifStoppable.stop(String)has been closed. -
toString
-