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