Class BooleanMetricImpl

    • Constructor Detail

      • BooleanMetricImpl

        public BooleanMetricImpl​(String name,
                                 @Nullable
                                 @Nullable String desc)
        Parameters:
        name - Name.
        desc - Description.
    • Method Detail

      • value

        public void value​(boolean val)
        Sets value.
        Parameters:
        val - Value.
      • reset

        public void reset()
        Resets metric state.
        Specified by:
        reset in interface Metric
      • value

        public boolean value()
        Specified by:
        value in interface BooleanMetric
        Returns:
        Value of the metric.