- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
Counter,DistributionSummary,FunctionalCounter,Gauge<N>,Timer
Common behavior of all meters.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classCommon unit declarations (inspired by the list from MicroProfile metrics).static interfaceMeter.Builder<B extends Meter.Builder<B,M>, M extends Meter> Common behavior of specific meter builders.static interfaceUnique idenfier for a meter.static classConstants for the pre-defined scopes.static enumType of meter. -
Method Summary
-
Method Details
-
id
Meter.Id id()Returns the meter ID.- Returns:
- meter ID
-
baseUnit
Returns the meter's base unit.- Returns:
- base unit
-
description
Returns the meter's description.- Returns:
- description
-
type
Meter.Type type()Returns the meter type.- Returns:
- meter type
-
scope
Returns the scope associated with the meter.- Returns:
- scope
-