Class StepLong


  • public class StepLong
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StepLong​(Clock clock, long stepMillis)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.atomic.LongAdder getCurrent()  
      double poll()  
      • Methods inherited from class java.lang.Object

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

      • StepLong

        public StepLong​(Clock clock,
                        long stepMillis)
    • Method Detail

      • getCurrent

        public java.util.concurrent.atomic.LongAdder getCurrent()
      • poll

        public double poll()
        Returns:
        The value for the last completed interval.