public class MetricRegistryBindings extends ReadOnlyBindings implements com.codahale.metrics.MetricRegistryListener
| Constructor and Description |
|---|
MetricRegistryBindings(com.codahale.metrics.MetricRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Map<String,com.codahale.metrics.Metric> |
getMetrics() |
boolean |
isEmpty() |
Set<String> |
keySet() |
void |
onCounterAdded(String name,
com.codahale.metrics.Counter metric) |
void |
onCounterRemoved(String name) |
void |
onGaugeAdded(String name,
com.codahale.metrics.Gauge<?> metric) |
void |
onGaugeRemoved(String name) |
void |
onHistogramAdded(String name,
com.codahale.metrics.Histogram metric) |
void |
onHistogramRemoved(String name) |
void |
onMeterAdded(String name,
com.codahale.metrics.Meter metric) |
void |
onMeterRemoved(String name) |
void |
onTimerAdded(String name,
com.codahale.metrics.Timer metric) |
void |
onTimerRemoved(String name) |
int |
size() |
Collection<Object> |
values() |
clear, put, putAll, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic MetricRegistryBindings(com.codahale.metrics.MetricRegistry registry)
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in interface Bindingspublic boolean containsValue(Object value)
containsValue in interface Map<String,Object>public void onGaugeAdded(String name, com.codahale.metrics.Gauge<?> metric)
onGaugeAdded in interface com.codahale.metrics.MetricRegistryListenerpublic void onGaugeRemoved(String name)
onGaugeRemoved in interface com.codahale.metrics.MetricRegistryListenerpublic void onCounterAdded(String name, com.codahale.metrics.Counter metric)
onCounterAdded in interface com.codahale.metrics.MetricRegistryListenerpublic void onCounterRemoved(String name)
onCounterRemoved in interface com.codahale.metrics.MetricRegistryListenerpublic void onHistogramAdded(String name, com.codahale.metrics.Histogram metric)
onHistogramAdded in interface com.codahale.metrics.MetricRegistryListenerpublic void onHistogramRemoved(String name)
onHistogramRemoved in interface com.codahale.metrics.MetricRegistryListenerpublic void onMeterAdded(String name, com.codahale.metrics.Meter metric)
onMeterAdded in interface com.codahale.metrics.MetricRegistryListenerpublic void onMeterRemoved(String name)
onMeterRemoved in interface com.codahale.metrics.MetricRegistryListenerpublic void onTimerAdded(String name, com.codahale.metrics.Timer metric)
onTimerAdded in interface com.codahale.metrics.MetricRegistryListenerpublic void onTimerRemoved(String name)
onTimerRemoved in interface com.codahale.metrics.MetricRegistryListenerCopyright © 2017. All rights reserved.