Class MatchedRule


  • public class MatchedRule
    extends Object
    MatchedRule is the result of matching a JMX bean against the rules present in the configuration file. As rules are matched using regular expressions, caching helps prevent having to match the same beans to the same list of regular expressions.
    • Method Detail

      • unmatched

        public static MatchedRule unmatched()
        A unmatched MatchedRule, used when no rule matching a JMX bean has been found in the configuration. Cached unmatched rules are still a cache hit, that will not produce any metric/value.
        Returns:
        the invalid rule