Class DoubleCumulative.DoublePoint

java.lang.Object
io.opencensus.metrics.DoubleCumulative.DoublePoint
Direct Known Subclasses:
DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint, DoubleCumulativeImpl.PointImpl
Enclosing class:
DoubleCumulative

public abstract static class DoubleCumulative.DoublePoint extends Object
The value of a single point in the Cumulative.TimeSeries.
Since:
0.21
  • 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