Interface ObservableLongMeasurement

All Superinterfaces:
ObservableMeasurement

public interface ObservableLongMeasurement extends ObservableMeasurement
An interface for observing measurements with long values.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    observe(long value)
    Deprecated.
    default void
    observe(long value, Attributes attributes)
    Deprecated.
    void
    record(long value)
    Records a measurement.
    void
    record(long value, Attributes attributes)
    Records a measurement with a set of attributes.
  • Method Details

    • observe

      @Deprecated default void observe(long value)
      Deprecated.
      Records a measurement.
      Parameters:
      value - The measurement amount.
    • observe

      @Deprecated default void observe(long value, Attributes attributes)
      Deprecated.
      Records a measurement with a set of attributes.
      Parameters:
      value - The measurement amount.
      attributes - A set of attributes to associate with the count.
    • record

      void record(long value)
      Records a measurement.
      Parameters:
      value - The measurement amount.
    • record

      void record(long value, Attributes attributes)
      Records a measurement with a set of attributes.
      Parameters:
      value - The measurement amount.
      attributes - A set of attributes to associate with the count.