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.
- Since:
- 0.21
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(double delta) Adds the given value to the current value.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopDoublePoint
private NoopDoublePoint()
-
-
Method Details
-
add
public void add(double delta) Description copied from class:DoubleCumulative.DoublePointAdds the given value to the current value. The values cannot be negative.- Specified by:
addin classDoubleCumulative.DoublePoint- Parameters:
delta- the value to add
-