public class RegexFilter extends Object implements StormMetricsFilter
| Constructor and Description |
|---|
RegexFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String name,
com.codahale.metrics.Metric metric) |
void |
prepare(Map<String,Object> config)
Called after the filter is instantiated.
|
public void prepare(Map<String,Object> config)
StormMetricsFilterCalled after the filter is instantiated.
prepare in interface StormMetricsFilterconfig - A map of the properties from the ‘filter’ section of the reporter configuration.public boolean matches(String name, com.codahale.metrics.Metric metric)
matches in interface com.codahale.metrics.MetricFilterCopyright © 2021 The Apache Software Foundation. All rights reserved.