Interface Instrument

All Known Subinterfaces:
LongCounter, LongGauge, LongUpDownCounter

public interface Instrument
A component that is used for reporting measurements.
  • Method Details

    • getName

      String getName()
      Returns:
      the name of the instrument.
    • getDescription

      String getDescription()
      Returns:
      the description of the instrument.
    • getMeter

      Meter getMeter()
      Returns:
      the Meter associated to the Instrument
    • reset

      default void reset()
      Resets the Instrument