- <init>
Creates a new MetricsRegistry with the given Clock instance.
- newGauge
Given a new Gauge, registers it under the given class and name.
- newTimer
- groupedMetrics
Returns a grouped and sorted map of all registered metrics which match then
given MetricPredicate.
- allMetrics
Returns an unmodifiable map of all metrics and their names.
- newMeter
- removeMetric
Removes the metric for the given class with the given name and scope.
- newCounter
Creates a new Counter and registers it under the given class and name.
- newHistogram
Creates a new Histogram and registers it under the given class and name.
- shutdown
Shut down this registry's thread pools.
- getOrAdd
Gets any existing metric with the given name or, if none exists, adds the given
metric.
- newScheduledThreadPool
Creates a new scheduled thread pool of a given size with the given name, or
returns an existing thre