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
FieldsModifier and TypeFieldDescriptionprivate static final DoubleCumulative.NoopDoubleCumulative.NoopDoublePoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(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.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
-