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