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