Package io.opentelemetry.api.metrics
Class DefaultMeter.NoopLongGauge
- java.lang.Object
-
- io.opentelemetry.api.metrics.DefaultMeter.NoopLongGauge
-
- All Implemented Interfaces:
LongGauge
- Enclosing class:
- DefaultMeter
private static class DefaultMeter.NoopLongGauge extends java.lang.Object implements LongGauge
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NoopLongGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
set(long value)
Set the gauge value.void
set(long value, Attributes attributes)
Records a value with a set of attributes.void
set(long value, Attributes attributes, Context context)
Records a value with a set of attributes.
-
-
-
Method Detail
-
set
public void set(long value)
Description copied from interface:LongGauge
Set the gauge value.
-
set
public void set(long value, Attributes attributes)
Description copied from interface:LongGauge
Records a value with a set of attributes.
-
set
public void set(long value, Attributes attributes, Context context)
Description copied from interface:LongGauge
Records a value with a set of attributes.
-
-