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
IOExceptionvoid visit(BucketTimedMetric bucket) throws IOException
IOExceptionvoid visit(ValueMetric value) throws IOException
IOExceptionvoid visit(CounterMetric counter) throws IOException
IOExceptionvoid visit(GaugeDoubleMetric gauge) throws IOException
IOExceptionvoid visit(GaugeDoubleGroup gaugeGroup) throws IOException
IOExceptionvoid visit(GaugeLongMetric gauge) throws IOException
IOExceptionvoid visit(GaugeLongGroup gaugeGroup) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.