Class DoubleGaugeImpl.PointImpl
java.lang.Object
io.opencensus.metrics.DoubleGauge.DoublePoint
io.opencensus.implcore.metrics.DoubleGaugeImpl.PointImpl
- Enclosing class:
DoubleGaugeImpl
Implementation of
DoubleGauge.DoublePoint.-
Method Summary
-
Method Details
-
add
public void add(double amt) Description copied from class:DoubleGauge.DoublePointAdds the given value to the current value. The values can be negative.- Specified by:
addin classDoubleGauge.DoublePoint- Parameters:
amt- the value to add
-
set
public void set(double val) Description copied from class:DoubleGauge.DoublePointSets the given value.- Specified by:
setin classDoubleGauge.DoublePoint- Parameters:
val- the new value.
-