Class JPerf.Stats

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    JPerf

    protected static class JPerf.Stats
    extends java.lang.Object
    implements java.lang.Runnable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.concurrent.atomic.LongAdder cnt  
      protected int interval  
      protected int msg_size  
      protected boolean sender  
    • Constructor Summary

      Constructors 
      Constructor Description
      Stats​(java.util.concurrent.atomic.LongAdder cnt, boolean sender, int msg_size, int interval)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

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

      • cnt

        protected final java.util.concurrent.atomic.LongAdder cnt
      • sender

        protected final boolean sender
      • msg_size

        protected final int msg_size
      • interval

        protected final int interval
    • Constructor Detail

      • Stats

        public Stats​(java.util.concurrent.atomic.LongAdder cnt,
                     boolean sender,
                     int msg_size,
                     int interval)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable