Package io.opencensus.metrics
Class LongCumulative.NoopLongCumulative.NoopLongPoint
java.lang.Object
io.opencensus.metrics.LongCumulative.LongPoint
io.opencensus.metrics.LongCumulative.NoopLongCumulative.NoopLongPoint
- Enclosing class:
LongCumulative.NoopLongCumulative
private static final class LongCumulative.NoopLongCumulative.NoopLongPoint
extends LongCumulative.LongPoint
No-op implementations of LongPoint class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LongCumulative.NoopLongCumulative.NoopLongPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(long delta) Adds the given value to the current value.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopLongPoint
private NoopLongPoint()
-
-
Method Details
-
add
public void add(long delta) Description copied from class:LongCumulative.LongPoint
Adds the given value to the current value. The values cannot be negative.- Specified by:
add
in classLongCumulative.LongPoint
- Parameters:
delta
- the value to add
-