Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoopLongGauge

        private NoopLongGauge()
    • Method Detail

      • 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.