Class ThroughputControlUtil
java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.ThroughputControlUtil
Helper methods for throttling
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNameForThrottling
(HStore store, String opName) Generate a name for throttling, to prevent name conflict when multiple IO operation running parallel on the same store.
-
Field Details
-
NAME_COUNTER
-
NAME_DELIMITER
- See Also:
-
-
Constructor Details
-
ThroughputControlUtil
private ThroughputControlUtil()
-
-
Method Details
-
getNameForThrottling
Generate a name for throttling, to prevent name conflict when multiple IO operation running parallel on the same store.- Parameters:
store
- the Store instance on which IO operation is happeningopName
- Name of the IO operation, e.g. "flush", "compaction", etc.- Returns:
- The name for throttling
-