JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-446  -  Provide/expose access to JPPFDistributedJob from a job UUID in local job notifications handler
Posted Apr 19, 2016 - updated Apr 25, 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
    Enhancement
  • Status
     
    Closed
  • Assigned to
    Not assigned to anyone
  • 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
When using a job notifications listener, the information provided by the JobNotification class does not provide any access to the job metadata and SLA, which could be used for sophisticated processing based on the job's life cycle.

We can easily provide access to the JPPFDistributedJob interface of the server-side representationo of a job, and provide a JobNotification.getJob() method to this effect. We would have to document that it would only return a value for locally registered notification listeners (for instance from within a drier startup class), and return null for remotely registered listeners.

#2
Comment posted by
 lolo4j
Apr 25, 13:37
Added method JPPFDriver.getInstance().getJob(String jobUuid) : JPPFDistributedJob.