Package io.opencensus.metrics
Class LongGauge.LongPoint
java.lang.Object
io.opencensus.metrics.LongGauge.LongPoint
- Direct Known Subclasses:
LongGauge.NoopLongGauge.NoopLongPoint
,LongGaugeImpl.PointImpl
- Enclosing class:
LongGauge
The value of a single point in the Gauge.TimeSeries.
- Since:
- 0.17
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LongPoint
public LongPoint()
-
-
Method Details
-
add
public abstract void add(long 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(long val) Sets the given value.- Parameters:
val
- the new value.- Since:
- 0.17
-