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.
- Since:
- 0.21
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final LongCumulative.NoopLongCumulative.NoopLongPoint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(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.LongPointAdds the given value to the current value. The values cannot be negative.- Specified by:
addin classLongCumulative.LongPoint- Parameters:
delta- the value to add
-