Class TimeDistribution

java.lang.Object
io.airlift.stats.TimeDistribution

public class TimeDistribution extends Object
  • Constructor Details

    • TimeDistribution

      public TimeDistribution()
    • TimeDistribution

      public TimeDistribution(TimeUnit unit)
    • TimeDistribution

      public TimeDistribution(double alpha)
    • TimeDistribution

      public TimeDistribution(double alpha, TimeUnit unit)
  • Method Details

    • add

      public void add(long value)
    • getCount

      public double getCount()
    • getP50

      public double getP50()
    • getP75

      public double getP75()
    • getP90

      public double getP90()
    • getP95

      public double getP95()
    • getP99

      public double getP99()
    • getMin

      public double getMin()
    • getMax

      public double getMax()
    • getAvg

      public double getAvg()
    • getUnit

      public TimeUnit getUnit()
    • getPercentiles

      public Map<Double,Double> getPercentiles()
    • snapshot

    • reset

      public void reset()