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.NoopLongPointINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateNoopLongPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(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.LongPointAdds the given value to the current value. The values cannot be negative.- Specified by:
addin classLongCumulative.LongPoint- Parameters:
delta- the value to add
-
-