Class SolrMetricManager.RegexFilter

  • All Implemented Interfaces:
    Enclosing class:

    public static class SolrMetricManager.RegexFilter
    extends Object
    implements com.codahale.metrics.MetricFilter
    An implementation of MetricFilter that selects metrics with names that match regular expression patterns.
    • Method Detail

      • matches

        public boolean matches​(String name,
                               com.codahale.metrics.Metric metric)
        Specified by:
        matches in interface com.codahale.metrics.MetricFilter
      • getMatched

        public Set<String> getMatched()
        Return the set of names that matched this filter.
        matching names
      • reset

        public void reset()
        Clear the set of names that matched.