Class Simulation


  • public class Simulation
    extends java.lang.Object
    Supervisor which manages set up and run benchmark tests. The class follows the steps required to initiate a test execution i.e configure and search for benchmark jobs by using SimulationJobsScanner. Once jobs are ready to execute, the implementation starts each one while providing a context to them.

    A Context instance is a storage associated with each benchmark job.

    Since:
    1.0.0
    Author:
    Erhan Bagdemir
    See Also:
    SimulationConfig, SimulationJobsScanner, Context
    • Method Detail

      • getInstance

        public static Simulation getInstance​(java.lang.String path,
                                             java.lang.Class<?> simulationClass)
      • verify

        public void verify()
      • times

        public void times​(int numberOfRepeats)
      • start

        public void start()
      • stop

        public void stop()