Class JMHSample_15_Asymmetric

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.atomic.AtomicInteger counter  
    • Method Summary

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

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

      • counter

        private java.util.concurrent.atomic.AtomicInteger counter
    • Constructor Detail

      • JMHSample_15_Asymmetric

        public JMHSample_15_Asymmetric()
    • Method Detail

      • up

        public void up()
      • inc

        public int inc()
      • get

        public int get()