## Uses of Class
org.eclipse.microprofile.metrics.MetricID

Packages that use MetricID
org.eclipse.microprofile.metrics: MicroProfile Metrics

### Uses of MetricID in org.eclipse.microprofile.metrics

Methods in org.eclipse.microprofile.metrics that return types with arguments of type MetricID
`SortedMap<MetricID,​Counter>` MetricRegistry.`getCounters()` Returns a map of all the counters in the registry and their `MetricID`s.
`SortedMap<MetricID,​Counter>` MetricRegistry.`getCounters​(MetricFilter filter)` Returns a map of all the counters in the registry and their `MetricID`s which match the given filter.
`SortedMap<MetricID,​Gauge>` MetricRegistry.`getGauges()` Returns a map of all the gauges in the registry and their `MetricID`s.
`SortedMap<MetricID,​Gauge>` MetricRegistry.`getGauges​(MetricFilter filter)` Returns a map of all the gauges in the registry and their `MetricID`s which match the given filter.
`SortedMap<MetricID,​Histogram>` MetricRegistry.`getHistograms()` Returns a map of all the histograms in the registry and their `MetricID`s.
`SortedMap<MetricID,​Histogram>` MetricRegistry.`getHistograms​(MetricFilter filter)` Returns a map of all the histograms in the registry and their `MetricID`s which match the given filter.
`SortedSet<MetricID>` MetricRegistry.`getMetricIDs()` Returns a set of the `MetricID`s of all the metrics in the registry.
`Map<MetricID,​Metric>` MetricRegistry.`getMetrics()` Returns a map of all the metrics in the registry and their `MetricID`s at query time.
`<T extends Metric> SortedMap<MetricID,​T>` MetricRegistry.`getMetrics​(Class<T> ofType, MetricFilter filter)` Returns a map of all the metrics in the registry and their `MetricID`s which match the given filter and which are assignable to the provided type.
`SortedMap<MetricID,​Metric>` MetricRegistry.`getMetrics​(MetricFilter filter)` Returns a map of all the metrics in the registry and their `MetricID`s which match the given filter.
`SortedMap<MetricID,​Timer>` MetricRegistry.`getTimers()` Returns a map of all the timers in the registry and their `MetricID`s.
`SortedMap<MetricID,​Timer>` MetricRegistry.`getTimers​(MetricFilter filter)` Returns a map of all the timers in the registry and their `MetricID`s which match the given filter.

Methods in org.eclipse.microprofile.metrics with parameters of type MetricID

`int`

MetricID.`compareTo​(MetricID other)`

Compares two MetricID objects through the following steps:
Compares the names of the two MetricIDs lexicographically. If the names are equal: Compare the number of tags. If the tag lengths are equal: Compare the Tags (sorted by the Tag's key value) a) Compare the Tag names/keys lexicographically b) If keys are equal, compare the Tag values lexicographically

`Counter` MetricRegistry.`counter​(MetricID metricID)` Return the `Counter` registered under the `MetricID`; or create and register a new `Counter` if none is registered.
`<T extends Number> Gauge<T>` MetricRegistry.`gauge​(MetricID metricID, Supplier<T> supplier)` Return the `Gauge` registered under the `MetricID`; or create and register this gauge if none is registered.
`<T,​R extends Number> Gauge<R>` MetricRegistry.`gauge​(MetricID metricID, T object, Function<T,​R> func)` Return the `Gauge` of type `Number` registered under the `MetricID`; or create and register this gauge if none is registered.
`Counter` MetricRegistry.`getCounter​(MetricID metricID)` Return the `Counter` registered for the provided `MetricID`.
`Gauge<?>` MetricRegistry.`getGauge​(MetricID metricID)` Return the `Gauge` registered for the provided `MetricID`.
`Histogram` MetricRegistry.`getHistogram​(MetricID metricID)` Return the `Histogram` registered for the provided `MetricID`.
`Metric` MetricRegistry.`getMetric​(MetricID metricID)` Return the `Metric` registered for a provided `MetricID`.
`<T extends Metric> T` MetricRegistry.`getMetric​(MetricID metricID, Class<T> asType)` Return the `Metric` registered for the provided `MetricID` as the provided type.
`Timer` MetricRegistry.`getTimer​(MetricID metricID)` Return the `Timer` registered for the provided `MetricID`.
`Histogram` MetricRegistry.`histogram​(MetricID metricID)` Return the `Histogram` registered under the `MetricID`; or create and register a new `Histogram` if none is registered.
`boolean` MetricFilter.`matches​(MetricID metricID, Metric metric)` Returns `true` if the metric matches the filter; `false` otherwise.
`boolean` MetricRegistry.`remove​(MetricID metricID)` Removes the metric with the given MetricID
`Timer` MetricRegistry.`timer​(MetricID metricID)` Return the `Timer` registered under the `MetricID`; or create and register a new `Timer` if none is registered.