Package org.apache.storm.metric.filter
Class FilterByMetricName
- java.lang.Object
-
- org.apache.storm.metric.filter.FilterByMetricName
-
- All Implemented Interfaces:
Serializable
,Predicate<IMetricsConsumer.DataPoint>
,MetricsFilter
,org.apache.storm.shade.com.google.common.base.Predicate<IMetricsConsumer.DataPoint>
public class FilterByMetricName extends Object implements MetricsFilter
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterByMetricName(List<String> whitelistPattern, List<String> blacklistPattern)
-
-
-
Method Detail
-
apply
public boolean apply(IMetricsConsumer.DataPoint dataPoint)
- Specified by:
apply
in interfaceorg.apache.storm.shade.com.google.common.base.Predicate<IMetricsConsumer.DataPoint>
-
-