Class DefaultSimpleStat

    • Constructor Detail

      • DefaultSimpleStat

        public DefaultSimpleStat()
    • Method Detail

      • record

        public void record​(long value)
        Specified by:
        record in interface SimpleStat
      • getMin

        public long getMin​(long defaultValue)
        Specified by:
        getMin in interface SimpleStat
      • getMax

        public long getMax​(long defaultValue)
        Specified by:
        getMax in interface SimpleStat
      • getAverage

        public long getAverage​(long defaultValue)
        Specified by:
        getAverage in interface SimpleStat
      • count

        public long count()
        Specified by:
        count in interface SimpleStat