JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
CLOSED  Enhancement JPPF-66  -  Additional notifications needed for JobListener
Posted Sep 16, 2012 - updated Oct 07, 2012
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
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Client
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 3.2
Issue description
Currently, the JobListener interface provides 2 notifications:
public interface JobListener extends EventListener {
  void jobStarted(JobEvent event);
  void jobEnded(JobEvent event);
}
With the load-balancer on the client-side, jobs may not be submitted all at once to the server, but rather they can be split into multiple tasks subsets, where each subset may be sent via a different connection, either a server connection or a local execution connection.

In this context, this means that many jobStarted() and jobEnded() notifications can be emitted for any single job, which makes more difficult to distinguish when a job actually starts and actually ends for good.

We propose to add 2 additional notifications:
  • void jobDispatched(JobEvent event) : sent when a task subset is dispatched to the server or local executor
  • void jobReturned(JobEvent event) : sent when a task subset has been executed and has returned from the server / local executor
The JobEvent should carry at least some basic information, such as how many tasks in the subset, the original count of tasks in the job, the connection name or identfier, job sla, metadata, etc...

#3
Comment posted by
 lolo4j
Oct 07, 09:37
This issue is now implemented. Documentation was updated. JUnit tests added.

Changes committed to SVN trunk revision 2453

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from lolo4j to Not being worked on.