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 privateNoopLongGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(long value)Set the gauge value.voidset(long value, Attributes attributes)Records a value with a set of attributes.voidset(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:LongGaugeSet the gauge value.
-
set
public void set(long value, Attributes attributes)Description copied from interface:LongGaugeRecords a value with a set of attributes.
-
set
public void set(long value, Attributes attributes, Context context)Description copied from interface:LongGaugeRecords a value with a set of attributes.
-
-