MetricsPluginGlobFilter, RegexFilter@Private public abstract class AbstractPatternFilter extends MetricsFilter
| Modifier and Type | Field | Description |
|---|---|---|
protected static java.lang.String |
EXCLUDE_KEY |
|
protected static java.lang.String |
EXCLUDE_TAGS_KEY |
|
protected static java.lang.String |
INCLUDE_KEY |
|
protected static java.lang.String |
INCLUDE_TAGS_KEY |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accepts(java.lang.Iterable<MetricsTag> tags) |
Whether to accept the tags
|
boolean |
accepts(java.lang.String name) |
Whether to accept the name
|
boolean |
accepts(MetricsTag tag) |
Whether to accept the tag
|
protected abstract com.google.re2j.Pattern |
compile(java.lang.String s) |
Compile a string pattern in to a pattern object
|
void |
init(org.apache.commons.configuration2.SubsetConfiguration conf) |
Initialize the plugin
|
acceptsprotected static final java.lang.String INCLUDE_KEY
protected static final java.lang.String EXCLUDE_KEY
protected static final java.lang.String INCLUDE_TAGS_KEY
protected static final java.lang.String EXCLUDE_TAGS_KEY
public void init(org.apache.commons.configuration2.SubsetConfiguration conf)
MetricsPluginconf - the configuration object for the pluginpublic boolean accepts(MetricsTag tag)
MetricsFilteraccepts in class MetricsFiltertag - to filter onpublic boolean accepts(java.lang.Iterable<MetricsTag> tags)
MetricsFilteraccepts in class MetricsFiltertags - to filter onpublic boolean accepts(java.lang.String name)
MetricsFilteraccepts in class MetricsFiltername - to filter onprotected abstract com.google.re2j.Pattern compile(java.lang.String s)
s - the string pattern to compileCopyright © 2008–2025 Apache Software Foundation. All rights reserved.