Package org.apache.solr.metrics
Class SolrMetricManager.AndFilter
- java.lang.Object
-
- org.apache.solr.metrics.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 ofMetricFilter
that selects metrics that match all filters in a list of filters.
-
-
Constructor Summary
Constructors Constructor Description AndFilter(com.codahale.metrics.MetricFilter... filters)
AndFilter(Collection<com.codahale.metrics.MetricFilter> 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 interfacecom.codahale.metrics.MetricFilter
-
-