Class ExtendedDefaultMeter.NoopLongGauge

java.lang.Object
io.opentelemetry.api.incubator.metrics.ExtendedDefaultMeter.NoopLongGauge
All Implemented Interfaces:
ExtendedLongGauge, LongGauge
Enclosing class:
ExtendedDefaultMeter

private static class ExtendedDefaultMeter.NoopLongGauge extends Object implements ExtendedLongGauge
  • Constructor Details

    • NoopLongGauge

      private NoopLongGauge()
  • Method Details

    • set

      public void set(long value)
      Description copied from interface: LongGauge
      Set the gauge value.
      Specified by:
      set in interface LongGauge
      Parameters:
      value - The current gauge value.
    • set

      public void set(long value, Attributes attributes)
      Description copied from interface: LongGauge
      Records a value with a set of attributes.
      Specified by:
      set in interface LongGauge
      Parameters:
      value - The current gauge value.
      attributes - A set of attributes to associate with the value.
    • set

      public void set(long value, Attributes attributes, Context context)
      Description copied from interface: LongGauge
      Records a value with a set of attributes.
      Specified by:
      set in interface LongGauge
      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.