Interface NodeFilter
@Private
public interface NodeFilter
Convenience way to filter nodes based on a criteria. To be used in
conjunction with
ClusterNodeTracker-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(SchedulerNode node) Criteria to accept node in the filtered list.
-
Method Details
-
accept
Criteria to accept node in the filtered list.- Parameters:
node- SchedulerNode.- Returns:
- true, node accept; false, node not accept.
-