AggregationData.DistributionData
instead.@Immutable @Deprecated public abstract static class AggregationData.MeanData extends AggregationData
MeasureValue
s.AggregationData.CountData, AggregationData.DistributionData, AggregationData.LastValueDataDouble, AggregationData.LastValueDataLong, AggregationData.MeanData, AggregationData.SumDataDouble, AggregationData.SumDataLong
Modifier and Type | Method and Description |
---|---|
static AggregationData.MeanData |
create(double mean,
long count)
Deprecated.
Creates a
MeanData . |
abstract long |
getCount()
Deprecated.
Returns the aggregated count.
|
abstract double |
getMean()
Deprecated.
Returns the aggregated mean.
|
<T> T |
match(Function<? super AggregationData.SumDataDouble,T> p0,
Function<? super AggregationData.SumDataLong,T> p1,
Function<? super AggregationData.CountData,T> p2,
Function<? super AggregationData.DistributionData,T> p3,
Function<? super AggregationData.LastValueDataDouble,T> p4,
Function<? super AggregationData.LastValueDataLong,T> p5,
Function<? super AggregationData,T> defaultFunction)
Deprecated.
Applies the given match function to the underlying data type.
|
public static AggregationData.MeanData create(double mean, long count)
MeanData
.mean
- the aggregated mean.count
- the aggregated count.MeanData
.public abstract double getMean()
public abstract long getCount()
public final <T> T match(Function<? super AggregationData.SumDataDouble,T> p0, Function<? super AggregationData.SumDataLong,T> p1, Function<? super AggregationData.CountData,T> p2, Function<? super AggregationData.DistributionData,T> p3, Function<? super AggregationData.LastValueDataDouble,T> p4, Function<? super AggregationData.LastValueDataLong,T> p5, Function<? super AggregationData,T> defaultFunction)
AggregationData
match
in class AggregationData