Class AddCPULoadAction


public class AddCPULoadAction extends SudoCommandAction
Action that adds high cpu load to a random regionserver for a given duration
  • Field Details

  • Constructor Details

    • AddCPULoadAction

      public AddCPULoadAction(long duration, long processes, long timeout)
      Add high load to cpu
      Parameters:
      duration - Duration that this thread should generate the load for in milliseconds
      processes - The number of parallel processes, should be equal to cpu threads for max load
  • Method Details