Package io.opentelemetry.api.metrics
Class DefaultMeter.NoopDoubleGauge
- java.lang.Object
-
- io.opentelemetry.api.metrics.DefaultMeter.NoopDoubleGauge
-
- All Implemented Interfaces:
DoubleGauge
- Enclosing class:
- DefaultMeter
private static class DefaultMeter.NoopDoubleGauge extends java.lang.Object implements DoubleGauge
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NoopDoubleGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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.
-
-
-
Method Detail
-
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
public void set(double value, Attributes attributes)
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
public void set(double value, Attributes attributes, Context context)
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.
-
-