Class IntGauge

    • Constructor Detail

      • IntGauge

        public IntGauge​(String name,
                        @Nullable
                        @Nullable String desc,
                        IntSupplier val)
        Parameters:
        name - Name.
        desc - Description.
        val - Supplier.
    • Method Detail

      • value

        public int value()
        Specified by:
        value in interface IntMetric
        Returns:
        Value of the metric.