Package io.opencensus.metrics
Class LongCumulative.LongPoint
java.lang.Object
io.opencensus.metrics.LongCumulative.LongPoint
- Direct Known Subclasses:
LongCumulative.NoopLongCumulative.NoopLongPoint
,LongCumulativeImpl.PointImpl
- Enclosing class:
LongCumulative
The value of a single point in the Cumulative.TimeSeries.
- Since:
- 0.21
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
add
(long delta) Adds the given value to the current value.
-
Constructor Details
-
LongPoint
public LongPoint()
-
-
Method Details
-
add
public abstract void add(long delta) Adds the given value to the current value. The values cannot be negative.- Parameters:
delta
- the value to add- Since:
- 0.21
-