Package io.opencensus.implcore.stats
Class RecordUtils.CreateMutableDistribution
- java.lang.Object
-
- io.opencensus.implcore.stats.RecordUtils.CreateMutableDistribution
-
- All Implemented Interfaces:
Function<Aggregation.Distribution,MutableAggregation>
- Enclosing class:
- RecordUtils
private static final class RecordUtils.CreateMutableDistribution extends java.lang.Object implements Function<Aggregation.Distribution,MutableAggregation>
-
-
Field Summary
Fields Modifier and Type Field Description private static RecordUtils.CreateMutableDistributionINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateCreateMutableDistribution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableAggregationapply(Aggregation.Distribution arg)Applies the function to the given argument.
-
-
-
Field Detail
-
INSTANCE
private static final RecordUtils.CreateMutableDistribution INSTANCE
-
-
Method Detail
-
apply
public MutableAggregation apply(Aggregation.Distribution arg)
Description copied from interface:FunctionApplies the function to the given argument.- Specified by:
applyin interfaceFunction<Aggregation.Distribution,MutableAggregation>- Parameters:
arg- the argument to the function.- Returns:
- the result of the function.
-
-