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 privateNoopDoubleGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(double value)Set the gauge value.voidset(double value, Attributes attributes)Records a value with a set of attributes.voidset(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:DoubleGaugeSet the gauge value.- Specified by:
setin interfaceDoubleGauge- Parameters:
value- The current gauge value.
-
set
public void set(double value, Attributes attributes)Description copied from interface:DoubleGaugeRecords a value with a set of attributes.- Specified by:
setin 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:DoubleGaugeRecords a value with a set of attributes.- Specified by:
setin 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.
-
-