JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-459  -  New node selector types
Posted Jun 30, 2016 - updated Jul 02, 2016
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Management / Monitoring
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.2
Issue description
Current we have 3 types of node selectors: AllNodes, UuidSelector and ExecutionPolicy.

We propose to add ScriptedNodeSelector and custom selector types. This will require a refactoring of the NodeSelector interface, such that it exposes a method, e.g. accepts() : boolean, which takes a representation of a node that is part of the public API.

We propose this:
public interface NodeSelector extends Serializable {
  boolean accepts(JPPFManagementInfo nodeInformation);
 
  // rest of the interface ...
}



#2
Comment posted by
 lolo4j
Jul 02, 11:30
Implemented in trunk revision 4115