Package io.opencensus.implcore.metrics
Class DerivedDoubleCumulativeImpl.PointWithFunction<T>
- java.lang.Object
-
- io.opencensus.implcore.metrics.DerivedDoubleCumulativeImpl.PointWithFunction<T>
-
- Enclosing class:
- DerivedDoubleCumulativeImpl
public static final class DerivedDoubleCumulativeImpl.PointWithFunction<T> extends java.lang.Object
Implementation ofDerivedDoubleCumulativeImpl.PointWithFunction
with an object and a callback function.
-
-
Field Summary
Fields Modifier and Type Field Description private ToDoubleFunction<T>
function
private java.util.List<LabelValue>
labelValues
private java.lang.ref.WeakReference<T>
ref
private Timestamp
startTime
private double
value
-
Constructor Summary
Constructors Constructor Description PointWithFunction(java.util.List<LabelValue> labelValues, T obj, ToDoubleFunction<T> function, Timestamp startTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private TimeSeries
getTimeSeries(Clock clock)
-
-
-
Field Detail
-
labelValues
private final java.util.List<LabelValue> labelValues
-
startTime
private final Timestamp startTime
-
ref
@Nullable private final java.lang.ref.WeakReference<T> ref
-
function
private final ToDoubleFunction<T> function
-
value
private double value
-
-
Constructor Detail
-
PointWithFunction
PointWithFunction(java.util.List<LabelValue> labelValues, @Nullable T obj, ToDoubleFunction<T> function, Timestamp startTime)
-
-
Method Detail
-
getTimeSeries
private TimeSeries getTimeSeries(Clock clock)
-
-