Package io.opencensus.metrics
Class DoubleGauge.DoublePoint
java.lang.Object
io.opencensus.metrics.DoubleGauge.DoublePoint
- Direct Known Subclasses:
DoubleGauge.NoopDoubleGauge.NoopDoublePoint
,DoubleGaugeImpl.PointImpl
- Enclosing class:
DoubleGauge
The value of a single point in the Gauge.TimeSeries.
- Since:
- 0.17
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DoublePoint
public DoublePoint()
-
-
Method Details
-
add
public abstract void add(double amt) Adds the given value to the current value. The values can be negative.- Parameters:
amt
- the value to add- Since:
- 0.17
-
set
public abstract void set(double val) Sets the given value.- Parameters:
val
- the new value.- Since:
- 0.17
-