Class Control


  • public final class Control
    extends java.lang.Object
    Control object, used to communicate significant information from JMH to the benchmark. WARNING: The API for this class is considered unstable, and can be changed without notice.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean startMeasurement
      Transitions to "true", once JMH had started the measurement for the current iteration.
      boolean stopMeasurement
      Transitions to "true", once JMH is stopping the measurement for the current iteration
    • Constructor Summary

      Constructors 
      Constructor Description
      Control()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • startMeasurement

        public volatile boolean startMeasurement
        Transitions to "true", once JMH had started the measurement for the current iteration.
      • stopMeasurement

        public volatile boolean stopMeasurement
        Transitions to "true", once JMH is stopping the measurement for the current iteration
    • Constructor Detail

      • Control

        public Control()