- All Superinterfaces:
Wrapper
- All Known Subinterfaces:
Counter
,DistributionSummary
,FunctionalCounter
,Gauge<N>
,Timer
Common behavior of all meters.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Common unit declarations (inspired by the list from MicroProfile metrics).static interface
Meter.Builder<B extends Meter.Builder<B,
M>, M extends Meter> Common behavior of specific meter builders.static interface
Unique idenfier for a meter.static class
Constants for the pre-defined scopes.static enum
Type 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
-