|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface MetricProcessor<T>
A processor of metric instances.
Method Summary | |
---|---|
void |
processCounter(MetricName name,
Counter counter,
T context)
Process the given counter. |
void |
processGauge(MetricName name,
Gauge<?> gauge,
T context)
Process the given gauge. |
void |
processHistogram(MetricName name,
Histogram histogram,
T context)
Process the given histogram. |
void |
processMeter(MetricName name,
Metered meter,
T context)
Process the given Metered instance. |
void |
processTimer(MetricName name,
Timer timer,
T context)
Process the given timer. |
Method Detail |
---|
void processMeter(MetricName name, Metered meter, T context) throws Exception
Metered
instance.
name
- the name of the metermeter
- the metercontext
- the context of the meter
Exception
- if something goes wrongvoid processCounter(MetricName name, Counter counter, T context) throws Exception
name
- the name of the countercounter
- the countercontext
- the context of the meter
Exception
- if something goes wrongvoid processHistogram(MetricName name, Histogram histogram, T context) throws Exception
name
- the name of the histogramhistogram
- the histogramcontext
- the context of the meter
Exception
- if something goes wrongvoid processTimer(MetricName name, Timer timer, T context) throws Exception
name
- the name of the timertimer
- the timercontext
- the context of the meter
Exception
- if something goes wrongvoid processGauge(MetricName name, Gauge<?> gauge, T context) throws Exception
name
- the name of the gaugegauge
- the gaugecontext
- the context of the meter
Exception
- if something goes wrong
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |