Class LoadGeneratorConfiguration

  • public class LoadGeneratorConfiguration
    extends java.lang.Object
    Daniel Meyer
    • Field Detail

      • 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 java.lang.Runnable[] setupTasks
      • workerTasks

        protected java.lang.Runnable[] workerTasks
      • color

        protected boolean color
    • Constructor Detail

      • LoadGeneratorConfiguration

        public LoadGeneratorConfiguration()
    • Method Detail

      • getNumOfThreads

        public int getNumOfThreads()
      • getSetupTasks

        public java.lang.Runnable[] getSetupTasks()
      • getWorkerTasks

        public java.lang.Runnable[] getWorkerTasks()
      • setNumOfThreads

        public void setNumOfThreads​(int numOfThreads)
      • setSetupTasks

        public void setSetupTasks​(java.lang.Runnable[] setupRunnables)
      • setWorkerTasks

        public void setWorkerTasks​(java.lang.Runnable[] workerRunnables)
      • getNumberOfIterations

        public int getNumberOfIterations()
      • setNumberOfIterations

        public void setNumberOfIterations​(int numberOfIterations)
      • isColor

        public boolean isColor()
      • setColor

        public void setColor​(boolean color)