Interface NodeSelector

All Superinterfaces:
Serializable
All Known Implementing Classes:
AllNodesSelector, ExecutionPolicySelector, ScriptedNodeSelector, UuidSelector

public interface NodeSelector extends Serializable
Marker interface for selecting nodes when using the NodeForwardingMBean methods.
Author:
Laurent Cohen
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NodeSelector
    Constant for a selector which accepts all nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether a node is accepted by this selector.
  • Field Details

    • ALL_NODES

      static final NodeSelector ALL_NODES
      Constant for a selector which accepts all nodes.
  • Method Details

    • accepts

      boolean accepts(JPPFManagementInfo nodeInfo)
      Determine whether a node is accepted by this selector.
      Parameters:
      nodeInfo - information on the node.
      Returns:
      true if the node is accepted, false otherwise.