public abstract static class MetricRegistryListener.Base extends java.lang.Object implements MetricRegistryListener
MetricRegistryListener
.MetricRegistryListener.Base
Constructor and Description |
---|
Base() |
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. |
public void onGaugeAdded(java.lang.String name, Gauge<?> gauge)
MetricRegistryListener
Gauge
is added to the registry.onGaugeAdded
in interface MetricRegistryListener
name
- the gauge's namegauge
- the gaugepublic void onGaugeRemoved(java.lang.String name)
MetricRegistryListener
Gauge
is removed from the registry.onGaugeRemoved
in interface MetricRegistryListener
name
- the gauge's namepublic void onCounterAdded(java.lang.String name, Counter counter)
MetricRegistryListener
Counter
is added to the registry.onCounterAdded
in interface MetricRegistryListener
name
- the counter's namecounter
- the counterpublic void onCounterRemoved(java.lang.String name)
MetricRegistryListener
Counter
is removed from the registry.onCounterRemoved
in interface MetricRegistryListener
name
- the counter's namepublic void onHistogramAdded(java.lang.String name, Histogram histogram)
MetricRegistryListener
Histogram
is added to the registry.onHistogramAdded
in interface MetricRegistryListener
name
- the histogram's namehistogram
- the histogrampublic void onHistogramRemoved(java.lang.String name)
MetricRegistryListener
Histogram
is removed from the registry.onHistogramRemoved
in interface MetricRegistryListener
name
- the histogram's namepublic void onMeterAdded(java.lang.String name, Meter meter)
MetricRegistryListener
Meter
is added to the registry.onMeterAdded
in interface MetricRegistryListener
name
- the meter's namemeter
- the meterpublic void onMeterRemoved(java.lang.String name)
MetricRegistryListener
Meter
is removed from the registry.onMeterRemoved
in interface MetricRegistryListener
name
- the meter's namepublic void onTimerAdded(java.lang.String name, Timer timer)
MetricRegistryListener
Timer
is added to the registry.onTimerAdded
in interface MetricRegistryListener
name
- the timer's nametimer
- the timerpublic void onTimerRemoved(java.lang.String name)
MetricRegistryListener
Timer
is removed from the registry.onTimerRemoved
in interface MetricRegistryListener
name
- the timer's name"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"