com.h3c.sdn.metric

## Interface MetricFilter

-     public interface MetricFilter

  A filter, based on `MetricDescriptor`, that is used (among other purposes) to determine whether or not a `TimeStampedMetric` should be reported.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static MetricFilter` | `ALL` A filter that matches all `TimeStampedMetric`s.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(MetricDescriptor descriptor)` Returns `true` if the specified `MetricDescriptor` matches the filter; `false` otherwise.

- - ### Field Detail

    - #### ALL

          static final MetricFilter ALL

      A filter that matches all `TimeStampedMetric`s.

  - ### Method Detail

    - #### matches

          boolean matches(MetricDescriptor descriptor)

      Returns `true` if the specified `MetricDescriptor` matches the filter; `false` otherwise.
      Parameters:
        `descriptor` - the `MetricDescriptor` to compare to the filter
      Returns:
        whether a match exists; `true` if so, `false` if not

Copyright © 2014. All Rights Reserved.