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