Class Aggregation.Mean
java.lang.Object
io.opencensus.stats.Aggregation
io.opencensus.stats.Aggregation.Mean
- Direct Known Subclasses:
AutoValue_Aggregation_Mean
- Enclosing class:
Aggregation
Deprecated.
Calculate mean on aggregated
MeasureValues.- Since:
- 0.8
-
Nested Class Summary
Nested classes/interfaces inherited from class Aggregation
Aggregation.Count, Aggregation.Distribution, Aggregation.LastValue, Aggregation.Mean, Aggregation.Sum -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Aggregation.Meancreate()Deprecated.Construct aMean.final <T> Tmatch(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) Deprecated.Applies the given match function to the underlying data type.
-
Field Details
-
INSTANCE
Deprecated.
-
-
Constructor Details
-
Mean
Mean()Deprecated.
-
-
Method Details
-
create
Deprecated.Construct aMean.- Returns:
- a new
Mean. - Since:
- 0.8
-
match
public final <T> T match(Function<? super Aggregation.Sum, T> p0, Function<? super Aggregation.Count, T> p1, Function<? super Aggregation.Distribution, T> p2, Function<? super Aggregation.LastValue, T> p3, Function<? super Aggregation, T> defaultFunction) Deprecated.Description copied from class:AggregationApplies the given match function to the underlying data type.- Specified by:
matchin classAggregation
-
Aggregation.Distributioninstead.