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 Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `apply(IMetricsConsumer.DataPoint dataPoint)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.function.Predicate

  `and, negate, or`

  ### Methods inherited from interface org.apache.storm.shade.com.google.common.base.Predicate

  `equals, test`

- ## Constructor Details

  - ### FilterByMetricName

    public FilterByMetricName(List<String> whitelistPattern, List<String> blacklistPattern)

- ## Method Details

  - ### apply

    public boolean apply(IMetricsConsumer.DataPoint dataPoint)
    Specified by:
      `apply` in interface `org.apache.storm.shade.com.google.common.base.Predicate<IMetricsConsumer.DataPoint>`