public final class DerivedDoubleGaugeImpl
extends io.opencensus.metrics.DerivedDoubleGauge
DerivedDoubleGauge.| Modifier and Type | Class and Description |
|---|---|
static class |
DerivedDoubleGaugeImpl.PointWithFunction<T>
Implementation of
DerivedDoubleGaugeImpl.PointWithFunction with an object and a callback function. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
<T> void |
createTimeSeries(List<io.opencensus.metrics.LabelValue> labelValues,
T obj,
io.opencensus.common.ToDoubleFunction<T> function) |
io.opencensus.metrics.export.Metric |
getMetric(io.opencensus.common.Clock clock)
Provides a
Metric with one or more TimeSeries. |
io.opencensus.metrics.export.MetricDescriptor |
getMetricDescriptor()
Provides a
MetricDescriptor. |
void |
removeTimeSeries(List<io.opencensus.metrics.LabelValue> labelValues) |
public <T> void createTimeSeries(List<io.opencensus.metrics.LabelValue> labelValues, @Nullable T obj, io.opencensus.common.ToDoubleFunction<T> function)
createTimeSeries in class io.opencensus.metrics.DerivedDoubleGaugepublic void removeTimeSeries(List<io.opencensus.metrics.LabelValue> labelValues)
removeTimeSeries in class io.opencensus.metrics.DerivedDoubleGaugepublic void clear()
clear in class io.opencensus.metrics.DerivedDoubleGaugepublic io.opencensus.metrics.export.MetricDescriptor getMetricDescriptor()
MetricDescriptor.MetricDescriptor.@Nullable public io.opencensus.metrics.export.Metric getMetric(io.opencensus.common.Clock clock)
Metric with one or more TimeSeries.clock - the clock used to get the time.Metric.