Class MeanMetric

  • All Implemented Interfaces:
    Metric

    public class MeanMetric
    extends java.lang.Object
    implements Metric
    • Constructor Summary

      Constructors 
      Constructor Description
      MeanMetric()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      long count()  
      void dec​(long n)  
      void inc​(long n)  
      double mean()  
      long sum()  
      • Methods inherited from class java.lang.Object

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

      • MeanMetric

        public MeanMetric()
    • Method Detail

      • inc

        public void inc​(long n)
      • dec

        public void dec​(long n)
      • count

        public long count()
      • sum

        public long sum()
      • mean

        public double mean()
      • clear

        public void clear()