public interface MetricVisitor
This is typically used by metric reporters that want to traverse the collected metrics and report the values to a repository or write then to a file.
Modifier and Type | Method and Description |
---|---|
void |
visit(BucketTimedMetric bucket)
Visit a BucketTimedMetric.
|
void |
visit(CounterMetric counter)
Visit a CounterMetric.
|
void |
visit(GaugeDoubleGroup gaugeGroup)
Visit a GaugeDoubleGroup.
|
void |
visit(GaugeDoubleMetric gauge)
Visit an individual GaugeDoubleMetric.
|
void |
visit(GaugeLongGroup gaugeGroup)
Visit a GaugeLongGroup.
|
void |
visit(GaugeLongMetric gauge)
Visit an individual GaugeLongMetric.
|
void |
visit(TimedMetric timed)
Visit a TimedMetric.
|
void |
visit(ValueMetric value)
Visit a ValueMetric.
|
void visit(TimedMetric timed) throws IOException
IOException
void visit(BucketTimedMetric bucket) throws IOException
IOException
void visit(ValueMetric value) throws IOException
IOException
void visit(CounterMetric counter) throws IOException
IOException
void visit(GaugeDoubleMetric gauge) throws IOException
IOException
void visit(GaugeDoubleGroup gaugeGroup) throws IOException
IOException
void visit(GaugeLongMetric gauge) throws IOException
IOException
void visit(GaugeLongGroup gaugeGroup) throws IOException
IOException
Copyright © 2014. All Rights Reserved.