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