Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.yammer.metrics.core;

A tag interface to indicate that a class is a metric.
 public interface Metric {
Allow the given MetricProcessor to process this as a metric.

processor a MetricProcessor
name the name of the current metric
context a given context which should be passed on to processor
<T> the type of the context object
java.lang.Exception if something goes wrong
    <T> void processWith(MetricProcessor<T> processorMetricName name, T contextthrows Exception;
New to GrepCode? Check out our FAQ X