Interface MetricType.IMetricTypeVisitor
- Enclosing class:
MetricType
public static interface MetricType.IMetricTypeVisitor
The IMetricTypeVisitor interface defines the visit method for each metric type.
-
Method Summary
Modifier and TypeMethodDescriptionvoidvisit(MetricType.Counter counter) Visit the given Counter type.voidvisit(MetricType.Gauge gauge) Visit the given Gauge type.voidvisit(MetricType.UpDownCounter upDownCounter) Visit the given UpDownCounter type.
-
Method Details
-
visit
Visit the given Gauge type.- Parameters:
gauge- the Gauge metric type
-
visit
Visit the given Counter type.- Parameters:
counter- the Counter metric type
-
visit
Visit the given UpDownCounter type.- Parameters:
upDownCounter- the UpDownCounter metric type
-