Interface MetricType.IMetricTypeVisitor

Enclosing class:
MetricType

public static interface MetricType.IMetricTypeVisitor
The IMetricTypeVisitor interface defines the visit method for each metric type.
  • Method Details

    • visit

      void visit(MetricType.Gauge gauge)
      Visit the given Gauge type.
      Parameters:
      gauge - the Gauge metric type
    • visit

      void visit(MetricType.Counter counter)
      Visit the given Counter type.
      Parameters:
      counter - the Counter metric type
    • visit

      void visit(MetricType.UpDownCounter upDownCounter)
      Visit the given UpDownCounter type.
      Parameters:
      upDownCounter - the UpDownCounter metric type