org.apache.storm.metric.filter

## Class FilterByMetricName

- java.lang.Object
- - org.apache.storm.metric.filter.FilterByMetricName

- All Implemented Interfaces:
    Serializable, Predicate<IMetricsConsumer.DataPoint>, MetricsFilter

      public class FilterByMetricName
      extends Object
      implements MetricsFilter

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FilterByMetricName(List<String> whitelistPattern, List<String> blacklistPattern)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 org.apache.storm.shade.com.google.common.base.Predicate

      `equals, test`

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

      `and, isEqual, negate, or`

- - ### Constructor Detail

    - #### FilterByMetricName

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

  - ### Method Detail

    - #### apply

          public boolean apply(IMetricsConsumer.DataPoint dataPoint)

Copyright © 2021 The Apache Software Foundation. All rights reserved.