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 MetricProcessor
name
- the name of the current metriccontext
- a given context which should be passed on to processor
Exception
- if something goes wrongCopyright © 2014. All Rights Reserved.