|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Evolving public interface MetricsVisitor
A visitor interface for metrics
Method Summary | |
---|---|
void |
counter(MetricsInfo info,
int value)
Callback for integer value counters |
void |
counter(MetricsInfo info,
long value)
Callback for long value counters |
void |
gauge(MetricsInfo info,
double value)
Callback for double value gauges |
void |
gauge(MetricsInfo info,
float value)
Callback for float value gauges |
void |
gauge(MetricsInfo info,
int value)
Callback for integer value gauges |
void |
gauge(MetricsInfo info,
long value)
Callback for long value gauges |
Method Detail |
---|
void gauge(MetricsInfo info, int value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, long value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, float value)
info
- the metric infovalue
- of the metricvoid gauge(MetricsInfo info, double value)
info
- the metric infovalue
- of the metricvoid counter(MetricsInfo info, int value)
info
- the metric infovalue
- of the metricvoid counter(MetricsInfo info, long value)
info
- the metric infovalue
- of the metric
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |