Class StatsBuckets


  • public class StatsBuckets
    extends java.lang.Object
    Create stats buckets to have frequency distribution of samples.
    • Constructor Detail

      • StatsBuckets

        public StatsBuckets​(long... boundaries)
    • Method Detail

      • addValue

        public void addValue​(long value)
      • refresh

        public void refresh()
      • reset

        public void reset()
      • getBuckets

        public long[] getBuckets()
      • getCount

        public long getCount()
      • getSum

        public long getSum()
      • getAvg

        public double getAvg()