JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-277  -  Execution policy which evaluates to an ordered list of prefered policies
Posted May 26, 2014 - updated May 31, 2014
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
    Core
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 4.2
Issue description
We propose to implement a new type of execution policy, which would take a list of existing policies and treat them as a set of preferences:
  • the constructor would take an ordered list of execution policies
  • the accepts() method would evaluate the policies in the provided order. If any of the policies returns true, then true is returned, otherwise false is returned.
This will effectively act as if ordered preferences had been provided

#2
Comment posted by
 lolo4j
May 31, 14:44
implemented and documented in trunk revision 3212