Class JMHSample_35_Profilers.Atomic

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicLong n  
    • Constructor Summary

      Constructors 
      Constructor Description
      Atomic()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void setup()  
      long test()  
      • Methods inherited from class java.lang.Object

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

      • n

        private java.util.concurrent.atomic.AtomicLong n
    • Constructor Detail

      • Atomic

        public Atomic()
    • Method Detail

      • setup

        public void setup()
      • test

        public long test()