Class SolrMetricManager.AndFilter

  • All Implemented Interfaces:
    com.codahale.metrics.MetricFilter
    Enclosing class:
    SolrMetricManager

    public static class SolrMetricManager.AndFilter
    extends Object
    implements com.codahale.metrics.MetricFilter
    An implementation of MetricFilter that selects metrics that match all filters in a list of filters.
    • Constructor Detail

      • AndFilter

        public AndFilter​(Collection<com.codahale.metrics.MetricFilter> filters)
      • AndFilter

        public AndFilter​(com.codahale.metrics.MetricFilter... filters)
    • Method Detail

      • matches

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