Class LoadGeneratorConfiguration


public class LoadGeneratorConfiguration extends Object
Daniel Meyer
  • Field Details

    • numOfThreads

      protected int numOfThreads
      the number of threads to use when generating load
    • numberOfIterations

      protected int numberOfIterations
      controls how often the worker runnables are executed
    • setupTasks

      protected Runnable[] setupTasks
    • workerTasks

      protected Runnable[] workerTasks
    • color

      protected boolean color
  • Constructor Details

    • LoadGeneratorConfiguration

      public LoadGeneratorConfiguration()
  • Method Details

    • getNumOfThreads

      public int getNumOfThreads()
    • getSetupTasks

      public Runnable[] getSetupTasks()
    • getWorkerTasks

      public Runnable[] getWorkerTasks()
    • setNumOfThreads

      public void setNumOfThreads(int numOfThreads)
    • setSetupTasks

      public void setSetupTasks(Runnable[] setupRunnables)
    • setWorkerTasks

      public void setWorkerTasks(Runnable[] workerRunnables)
    • getNumberOfIterations

      public int getNumberOfIterations()
    • setNumberOfIterations

      public void setNumberOfIterations(int numberOfIterations)
    • isColor

      public boolean isColor()
    • setColor

      public void setColor(boolean color)