public interface MetricsRegistryListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
onMetricAdded(MetricName name,
Metric metric)
Called when a metric has been added to the
MetricsRegistry . |
void |
onMetricRemoved(MetricName name)
Called when a metric has been removed from the
MetricsRegistry . |
void onMetricAdded(MetricName name, Metric metric)
MetricsRegistry
.void onMetricRemoved(MetricName name)
MetricsRegistry
.name
- the name of the Metric
Copyright © 2014. All Rights Reserved.