Class InfraControl


  • public class InfraControl
    extends InfraControlL4
    The InfraControl logic class. This is the rendezvous class for benchmark handler and JMH.
    • Constructor Detail

      • InfraControl

        public InfraControl​(BenchmarkParams benchmarkParams,
                            IterationParams iterationParams,
                            java.util.concurrent.CountDownLatch preSetup,
                            java.util.concurrent.CountDownLatch preTearDown,
                            boolean lastIteration,
                            Control notifyControl)
    • Method Detail

      • getDuration

        public long getDuration()
        Returns:
        requested loop duration in milliseconds.
      • getDuration

        public long getDuration​(java.util.concurrent.TimeUnit unit)
        Parameters:
        unit - timeunit to use
        Returns:
        requested loop duration in the requested unit.
      • preSetup

        public void preSetup()
      • preTearDown

        public void preTearDown()
      • preSetupForce

        public void preSetupForce()
      • preTearDownForce

        public void preTearDownForce()
      • isLastIteration

        public boolean isLastIteration()
      • announceDone

        public void announceDone()