public class RegexMetricFilter extends Object implements com.codahale.metrics.MetricFilter
Constructor and Description |
---|
RegexMetricFilter(Properties properties)
Creates a new
RegexMetricFilter with a Properties . |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String name,
com.codahale.metrics.Metric metric) |
public RegexMetricFilter(Properties properties)
RegexMetricFilter
with a Properties
.properties
- the properties which may contain filter-regex propertiespublic boolean matches(String name, com.codahale.metrics.Metric metric)
matches
in interface com.codahale.metrics.MetricFilter
Copyright © 2023. All Rights Reserved.