Package io.opencensus.metrics
Class DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint
- java.lang.Object
-
- io.opencensus.metrics.DoubleCumulative.DoublePoint
-
- io.opencensus.metrics.DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint
-
- Enclosing class:
- DoubleCumulative.NoopDoubleCumulative
private static final class DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint extends DoubleCumulative.DoublePoint
No-op implementations of DoublePoint class.
-
-
Field Summary
Fields Modifier and Type Field Description private static DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
NoopDoublePoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(double delta)
Adds the given value to the current value.
-
-
-
Field Detail
-
INSTANCE
private static final DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint INSTANCE
-
-
Method Detail
-
add
public void add(double delta)
Description copied from class:DoubleCumulative.DoublePoint
Adds the given value to the current value. The values cannot be negative.- Specified by:
add
in classDoubleCumulative.DoublePoint
- Parameters:
delta
- the value to add
-
-