Class LongGauge.NoopLongGauge.NoopLongPoint

java.lang.Object
io.opencensus.metrics.LongGauge.LongPoint
io.opencensus.metrics.LongGauge.NoopLongGauge.NoopLongPoint
Enclosing class:
LongGauge.NoopLongGauge

private static final class LongGauge.NoopLongGauge.NoopLongPoint extends LongGauge.LongPoint
No-op implementations of LongPoint class.
  • Field Details

  • Constructor Details

    • NoopLongPoint

      private NoopLongPoint()
  • Method Details

    • add

      public void add(long amt)
      Description copied from class: LongGauge.LongPoint
      Adds the given value to the current value. The values can be negative.
      Specified by:
      add in class LongGauge.LongPoint
      Parameters:
      amt - the value to add
    • set

      public void set(long val)
      Description copied from class: LongGauge.LongPoint
      Sets the given value.
      Specified by:
      set in class LongGauge.LongPoint
      Parameters:
      val - the new value.