Class ExtendedDefaultMeter.NoopDoubleGauge
java.lang.Object
io.opentelemetry.api.incubator.metrics.ExtendedDefaultMeter.NoopDoubleGauge
- All Implemented Interfaces:
ExtendedDoubleGauge
,DoubleGauge
- Enclosing class:
ExtendedDefaultMeter
private static class ExtendedDefaultMeter.NoopDoubleGauge
extends Object
implements ExtendedDoubleGauge
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
set
(double value) Set the gauge value.void
set
(double value, Attributes attributes) Records a value with a set of attributes.void
set
(double value, Attributes attributes, Context context) Records a value with a set of attributes.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.opentelemetry.api.incubator.metrics.ExtendedDoubleGauge
isEnabled
-
Constructor Details
-
NoopDoubleGauge
private NoopDoubleGauge()
-
-
Method Details
-
set
public void set(double value) Description copied from interface:DoubleGauge
Set the gauge value.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.
-
set
Description copied from interface:DoubleGauge
Records a value with a set of attributes.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.attributes
- A set of attributes to associate with the value.
-
set
Description copied from interface:DoubleGauge
Records a value with a set of attributes.- Specified by:
set
in interfaceDoubleGauge
- Parameters:
value
- The current gauge value.attributes
- A set of attributes to associate with the value.context
- The explicit context to associate with this measurement.
-