Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.yammer.metrics.core;
 
Listeners for events from the registry. Listeners must be thread-safe.
 
 public interface MetricsRegistryListener extends EventListener {
    
Called when a metric has been added to the MetricsRegistry.

Parameters:
name the name of the Metric
metric the Metric
    void onMetricAdded(MetricName nameMetric metric);

    
Called when a metric has been removed from the MetricsRegistry.

Parameters:
name the name of the Metric
    void onMetricRemoved(MetricName name);
New to GrepCode? Check out our FAQ X