public interface MetricsVisitor
| 限定符和类型 | 方法和说明 |
|---|---|
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
|
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 metricCopyright © 2009 The Apache Software Foundation