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

    All Methods Instance Methods Concrete Methods
    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 Detail

    - #### FilterByMetricName

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

  - ### Method Detail

    - #### apply

          public boolean apply​(IMetricsConsumer.DataPoint dataPoint)

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