public interface MetricRegistryListener
extends java.util.EventListener
Modifier and Type | Interface and Description |
---|---|
static class |
MetricRegistryListener.Base
A no-op implementation of
MetricRegistryListener . |
Modifier and Type | Method and Description |
---|---|
void |
onCounterAdded(java.lang.String name,
Counter counter)
Called when a
Counter is added to the registry. |
void |
onCounterRemoved(java.lang.String name)
Called when a
Counter is removed from the registry. |
void |
onGaugeAdded(java.lang.String name,
Gauge<?> gauge)
Called when a
Gauge is added to the registry. |
void |
onGaugeRemoved(java.lang.String name)
Called when a
Gauge is removed from the registry. |
void |
onHistogramAdded(java.lang.String name,
Histogram histogram)
Called when a
Histogram is added to the registry. |
void |
onHistogramRemoved(java.lang.String name)
Called when a
Histogram is removed from the registry. |
void |
onMeterAdded(java.lang.String name,
Meter meter)
Called when a
Meter is added to the registry. |
void |
onMeterRemoved(java.lang.String name)
Called when a
Meter is removed from the registry. |
void |
onTimerAdded(java.lang.String name,
Timer timer)
Called when a
Timer is added to the registry. |
void |
onTimerRemoved(java.lang.String name)
Called when a
Timer is removed from the registry. |
void onGaugeAdded(java.lang.String name, Gauge<?> gauge)
Gauge
is added to the registry.name
- the gauge's namegauge
- the gaugevoid onGaugeRemoved(java.lang.String name)
Gauge
is removed from the registry.name
- the gauge's namevoid onCounterAdded(java.lang.String name, Counter counter)
Counter
is added to the registry.name
- the counter's namecounter
- the countervoid onCounterRemoved(java.lang.String name)
Counter
is removed from the registry.name
- the counter's namevoid onHistogramAdded(java.lang.String name, Histogram histogram)
Histogram
is added to the registry.name
- the histogram's namehistogram
- the histogramvoid onHistogramRemoved(java.lang.String name)
Histogram
is removed from the registry.name
- the histogram's namevoid onMeterAdded(java.lang.String name, Meter meter)
Meter
is added to the registry.name
- the meter's namemeter
- the metervoid onMeterRemoved(java.lang.String name)
Meter
is removed from the registry.name
- the meter's namevoid onTimerAdded(java.lang.String name, Timer timer)
Timer
is added to the registry.name
- the timer's nametimer
- the timervoid onTimerRemoved(java.lang.String name)
Timer
is removed from the registry.name
- the timer's name"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"