@ThreadSafe public class Distribution extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Distribution.DistributionSnapshot |
| Constructor and Description |
|---|
Distribution() |
Distribution(double alpha) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
add(long value,
long count) |
Distribution |
duplicate() |
double |
getAvg() |
double |
getCount() |
double |
getMax() |
double |
getMin() |
double |
getP01() |
double |
getP05() |
double |
getP10() |
double |
getP25() |
double |
getP50() |
double |
getP75() |
double |
getP90() |
double |
getP95() |
double |
getP99() |
Map<Double,Double> |
getPercentiles() |
List<Double> |
getPercentiles(List<Double> percentiles) |
double |
getTotal() |
Distribution.DistributionSnapshot |
snapshot() |
public Distribution()
public Distribution(double alpha)
public void add(long value)
public void add(long value,
long count)
public Distribution duplicate()
public double getCount()
public double getTotal()
public double getP01()
public double getP05()
public double getP10()
public double getP25()
public double getP50()
public double getP75()
public double getP90()
public double getP95()
public double getP99()
public double getMin()
public double getMax()
public double getAvg()
public Distribution.DistributionSnapshot snapshot()
Copyright © 2010–2020 Airlift. All rights reserved.