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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
NoLimitThroughputControllerpublic NoLimitThroughputController()
 
- 
- 
Method Details- 
setupDescription copied from interface:ThroughputControllerSetup controller for the given region server.- Specified by:
- setupin interface- ThroughputController
 
- 
startDescription copied from interface:ThroughputControllerStart the throughput controller.- Specified by:
- startin interface- ThroughputController
 
- 
controlDescription copied from interface:ThroughputControllerControl the throughput. Will sleep if too fast.- Specified by:
- controlin interface- ThroughputController
- Returns:
- the actual sleep time.
- Throws:
- InterruptedException
 
- 
finishDescription copied from interface:ThroughputControllerFinish the controller. Should call this method in a finally block.- Specified by:
- finishin interface- ThroughputController
 
- 
stopDescription copied from interface:StoppableStop this service. Implementers should favor logging errors over throwing RuntimeExceptions.
- 
isStoppedDescription copied from interface:StoppableReturns True ifStoppable.stop(String)has been closed.
- 
toString
 
-