public interface MetricFilter
Modifier and Type | Field and Description |
---|---|
static MetricFilter |
ALL
Matches all metrics, regardless of type or name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String name,
Metric metric)
Returns
true if the metric matches the filter; false otherwise. |
static final MetricFilter ALL
boolean matches(java.lang.String name, Metric metric)
true
if the metric matches the filter; false
otherwise.name
- the metric's namemetric
- the metrictrue
if the metric matches the filter