org.jppf.server.queue
Class BroadcastJobCompletionListener

java.lang.Object
  extended by org.jppf.server.queue.BroadcastJobCompletionListener
All Implemented Interfaces:
TaskCompletionListener

public class BroadcastJobCompletionListener
extends Object
implements TaskCompletionListener

Author:
Laurent Cohen

Constructor Summary
BroadcastJobCompletionListener(BundleWrapper bundleWrapper, Set<String> nodeUuids)
          Initialize this completion listener with the specified bradcast job and set of node uuids.
 
Method Summary
 void taskCompleted(BundleWrapper result)
          Callback method invoked when the execution of a task has completed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadcastJobCompletionListener

public BroadcastJobCompletionListener(BundleWrapper bundleWrapper,
                                      Set<String> nodeUuids)
Initialize this completion listener with the specified bradcast job and set of node uuids.

Parameters:
bundleWrapper - the broadcast job to dispatch ot each node.
nodeUuids - the uuids of the nodes to which the job will be dispatched.
Method Detail

taskCompleted

public void taskCompleted(BundleWrapper result)
Callback method invoked when the execution of a task has completed.

Specified by:
taskCompleted in interface TaskCompletionListener
Parameters:
result - the result of the task's execution.


Copyright © 2005-2010 JPPF Team.