Interface LongCounter.BoundLongCounter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void add​(long increment)
      Adds the given increment to the current value.
      void unbind()
      Unbinds the current Bound from the Instrument.
    • Method Detail

      • add

        void add​(long increment)
        Adds the given increment to the current value. The values cannot be negative.

        The value added is associated with the current Context.

        Parameters:
        increment - the value to add.