| Modifier and Type | Method and Description |
|---|---|
<T extends Counter> |
MetricRegistry.counter(MetricName name,
MetricRegistry.MetricSupplier<T> supplier)
|
| Modifier and Type | Method and Description |
|---|---|
Counter |
MetricRegistry.counter(MetricName name)
|
Counter |
MetricRegistry.counter(String name) |
| Modifier and Type | Method and Description |
|---|---|
SortedMap<MetricName,Counter> |
MetricRegistry.getCounters()
Returns a map of all the counters in the registry and their names.
|
SortedMap<MetricName,Counter> |
MetricRegistry.getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and their names which match the given
filter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricRegistryListener.onCounterAdded(MetricName name,
Counter counter)
Called when a
Counter is added to the registry. |
void |
MetricRegistryListener.Base.onCounterAdded(MetricName name,
Counter counter) |
Copyright © 2018. All Rights Reserved.