Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.yammer.metrics.reporting;
 
The base class for all metric reporters.
 
 public abstract class AbstractReporter {
     private final MetricsRegistry metricsRegistry;

    
Creates a new AbstractReporter instance.

Parameters:
registry the com.yammer.metrics.core.MetricsRegistry containing the metrics this reporter will report
    protected AbstractReporter(MetricsRegistry registry) {
        this. = registry;
    }

    
Stops the reporter and closes any internal resources.
    public void shutdown() {
        // nothing to do here
    }

    
    protected MetricsRegistry getMetricsRegistry() {
        return ;
    }
New to GrepCode? Check out our FAQ X