public interface Metric
| Modifier and Type | Method and Description |
|---|---|
<T> void |
processWith(MetricProcessor<T> processor,
MetricName name,
T context)
Allow the given
MetricProcessor to process this as a metric. |
<T> void processWith(MetricProcessor<T> processor, MetricName name, T context) throws Exception
MetricProcessor to process this as a metric.T - the type of the context objectprocessor - a MetricProcessorname - the name of the current metriccontext - a given context which should be passed on to processorException - if something goes wrongCopyright © 2012. All Rights Reserved.