|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricsVisitor
A visitor interface for metrics
Method Summary | |
---|---|
void |
counter(MetricCounter<Integer> metric,
int value)
Callback for integer value counters |
void |
counter(MetricCounter<Long> metric,
long value)
Callback for long value counters |
void |
gauge(MetricGauge<Double> metric,
double value)
Callback for double value gauges |
void |
gauge(MetricGauge<Float> metric,
float value)
Callback for float value gauges |
void |
gauge(MetricGauge<Integer> metric,
int value)
Callback for int value gauges |
void |
gauge(MetricGauge<Long> metric,
long value)
Callback for long value gauges |
Method Detail |
---|
void gauge(MetricGauge<Integer> metric, int value)
metric
- the metric objectvalue
- of the metricvoid gauge(MetricGauge<Long> metric, long value)
metric
- the metric objectvalue
- of the metricvoid gauge(MetricGauge<Float> metric, float value)
metric
- the metric objectvalue
- of the metricvoid gauge(MetricGauge<Double> metric, double value)
metric
- the metric objectvalue
- of the metricvoid counter(MetricCounter<Integer> metric, int value)
metric
- the metric objectvalue
- of the metricvoid counter(MetricCounter<Long> metric, long value)
metric
- the metric objectvalue
- of the metric
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |