Uses of Class
org.eclipse.microprofile.metrics.MetricID
-
Packages that use MetricID Package Description 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 Modifier and Type Method Description SortedMap<MetricID,Counter>
MetricRegistry. getCounters()
Returns a map of all the counters in the registry and theirMetricID
s.SortedMap<MetricID,Counter>
MetricRegistry. getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and theirMetricID
s which match the given filter.SortedMap<MetricID,Gauge>
MetricRegistry. getGauges()
Returns a map of all the gauges in the registry and theirMetricID
s.SortedMap<MetricID,Gauge>
MetricRegistry. getGauges(MetricFilter filter)
Returns a map of all the gauges in the registry and theirMetricID
s which match the given filter.SortedMap<MetricID,Histogram>
MetricRegistry. getHistograms()
Returns a map of all the histograms in the registry and theirMetricID
s.SortedMap<MetricID,Histogram>
MetricRegistry. getHistograms(MetricFilter filter)
Returns a map of all the histograms in the registry and theirMetricID
s which match the given filter.SortedSet<MetricID>
MetricRegistry. getMetricIDs()
Returns a set of theMetricID
s of all the metrics in the registry.Map<MetricID,Metric>
MetricRegistry. getMetrics()
Returns a map of all the metrics in the registry and theirMetricID
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 theirMetricID
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 theirMetricID
s which match the given filter.SortedMap<MetricID,Timer>
MetricRegistry. getTimers()
Returns a map of all the timers in the registry and theirMetricID
s.SortedMap<MetricID,Timer>
MetricRegistry. getTimers(MetricFilter filter)
Returns a map of all the timers in the registry and theirMetricID
s which match the given filter.Methods in org.eclipse.microprofile.metrics with parameters of type MetricID Modifier and Type Method Description 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 lexicographicallyCounter
MetricRegistry. counter(MetricID metricID)
<T extends Number>
Gauge<T>MetricRegistry. gauge(MetricID metricID, Supplier<T> supplier)
<T,R extends Number>
Gauge<R>MetricRegistry. gauge(MetricID metricID, T object, Function<T,R> func)
Counter
MetricRegistry. getCounter(MetricID metricID)
Gauge<?>
MetricRegistry. getGauge(MetricID metricID)
Histogram
MetricRegistry. getHistogram(MetricID metricID)
Metric
MetricRegistry. getMetric(MetricID metricID)
<T extends Metric>
TMetricRegistry. getMetric(MetricID metricID, Class<T> asType)
Timer
MetricRegistry. getTimer(MetricID metricID)
Histogram
MetricRegistry. histogram(MetricID metricID)
boolean
MetricFilter. matches(MetricID metricID, Metric metric)
Returnstrue
if the metric matches the filter;false
otherwise.boolean
MetricRegistry. remove(MetricID metricID)
Removes the metric with the given MetricIDTimer
MetricRegistry. timer(MetricID metricID)
-