- All Known Subinterfaces:
LongCounter,LongGauge,LongUpDownCounter
public interface Instrument
A component that is used for reporting measurements.
-
Method Summary
Modifier and TypeMethodDescriptiongetMeter()getName()default voidreset()Resets theInstrument
-
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
Meterassociated to theInstrument
-
reset
default void reset()Resets theInstrument
-