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
Fields Modifier and Type Field Description private static LongCumulative.NoopLongCumulative.NoopLongPoint
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
NoopLongPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long delta)
Adds the given value to the current value.
-
-
-
Field Detail
-
INSTANCE
private static final LongCumulative.NoopLongCumulative.NoopLongPoint INSTANCE
-
-
Method Detail
-
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
-
-