Class ThroughputControlUtil

java.lang.Object
org.apache.hadoop.hbase.regionserver.throttle.ThroughputControlUtil

@Private public final class ThroughputControlUtil extends Object
Helper methods for throttling
  • Field Details

  • Constructor Details

  • Method Details

    • getNameForThrottling

      public static 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.
      Parameters:
      store - the Store instance on which IO operation is happening
      opName - Name of the IO operation, e.g. "flush", "compaction", etc.
      Returns:
      The name for throttling