Interface Meter
- 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 classDeprecated, for removal: This API element is subject to removal in a future version.Core metrics ignores scope values, and this type will be removed.static enumType of meter. -
Method Summary
Modifier and TypeMethodDescriptionbaseUnit()Returns the meter's base unit.Returns the meter's description.id()Returns the meter ID.scope()Deprecated, for removal: This API element is subject to removal in a future version.Core metrics does not assign scopes, and this method will be removed.type()Returns the meter type.
-
Method Details
-
id
-
baseUnit
-
description
-
type
-
scope
Deprecated, for removal: This API element is subject to removal in a future version.Core metrics does not assign scopes, and this method will be removed.Always returns empty because core metrics does not assign scopes.- Returns:
- empty
-