Interface JPPFStatistics.Filter

All Known Implementing Classes:
JPPFSnapshot.LabelBasedFilter, JPPFSnapshot.LabelExcludingFilter, JPPFSnapshot.LabelIncludingFilter
Enclosing class:
JPPFStatistics

public static interface JPPFStatistics.Filter
A filter interface for snapshots.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(JPPFSnapshot snapshot)
    Determines whether the specified snapshot is accepted by this filter.
  • Method Details

    • accept

      boolean accept(JPPFSnapshot snapshot)
      Determines whether the specified snapshot is accepted by this filter.
      Parameters:
      snapshot - the snapshot to check.
      Returns:
      true if the snapshot is accepted, false otherwise.