@Experimental(value=METRICS) public abstract class DistributionResult extends java.lang.Object
Distribution
metric.Modifier and Type | Field and Description |
---|---|
static DistributionResult |
IDENTITY_ELEMENT
The IDENTITY_ELEMENT is used to start accumulating distributions.
|
Constructor and Description |
---|
DistributionResult() |
Modifier and Type | Method and Description |
---|---|
static DistributionResult |
create(long sum,
long count,
long min,
long max) |
abstract long |
getCount() |
abstract long |
getMax() |
double |
getMean() |
abstract long |
getMin() |
abstract long |
getSum() |
public static final DistributionResult IDENTITY_ELEMENT
public abstract long getSum()
public abstract long getCount()
public abstract long getMin()
public abstract long getMax()
public double getMean()
public static DistributionResult create(long sum, long count, long min, long max)