Class LongGauge.NoopLongGauge.NoopLongPoint
java.lang.Object
io.opencensus.metrics.LongGauge.LongPoint
io.opencensus.metrics.LongGauge.NoopLongGauge.NoopLongPoint
- Enclosing class:
LongGauge.NoopLongGauge
No-op implementations of LongPoint class.
- Since:
- 0.17
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoopLongPoint
private NoopLongPoint()
-
-
Method Details
-
add
public void add(long amt) Description copied from class:LongGauge.LongPointAdds the given value to the current value. The values can be negative.- Specified by:
addin classLongGauge.LongPoint- Parameters:
amt- the value to add
-
set
public void set(long val) Description copied from class:LongGauge.LongPointSets the given value.- Specified by:
setin classLongGauge.LongPoint- Parameters:
val- the new value.
-