Interface IntMetric

  • All Superinterfaces:
    Metric
    All Known Implementing Classes:
    IntGauge, IntMetricImpl

    public interface IntMetric
    extends Metric
    Interface for the metrics that holds int primitive.
    • Method Detail

      • value

        int value()
        Returns:
        Value of the metric.
      • getAsString

        default String getAsString()
        Specified by:
        getAsString in interface Metric
        Returns:
        String representation of metric value.