Package org.jppf.utils.stats
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 TypeMethodDescriptionbooleanaccept(JPPFSnapshot snapshot) Determines whether the specified snapshot is accepted by this filter.
-
Method Details
-
accept
Determines whether the specified snapshot is accepted by this filter.- Parameters:
snapshot- the snapshot to check.- Returns:
trueif the snapshot is accepted,falseotherwise.
-