Package org.jppf.server.protocol
Class BundleCompletionListener
java.lang.Object
org.jppf.server.protocol.BundleCompletionListener
- All Implemented Interfaces:
ServerTaskBundleClient.CompletionListener
public class BundleCompletionListener
extends Object
implements ServerTaskBundleClient.CompletionListener
Listener for handling completed bundles.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbundleEnded(ServerTaskBundleClient bundle) Callback method invoked when execution of the bundle is done.voidtaskCompleted(ServerTaskBundleClient bundle, List<ServerTask> results) Callback method invoked when the execution of the bundle has completed.
-
Method Details
-
taskCompleted
Description copied from interface:ServerTaskBundleClient.CompletionListenerCallback method invoked when the execution of the bundle has completed.- Specified by:
taskCompletedin interfaceServerTaskBundleClient.CompletionListener- Parameters:
bundle- the bundle that notifies completed result.results- the list of results of the bundle execution.
-
bundleEnded
Description copied from interface:ServerTaskBundleClient.CompletionListenerCallback method invoked when execution of the bundle is done.- Specified by:
bundleEndedin interfaceServerTaskBundleClient.CompletionListener- Parameters:
bundle- the bundle that notifies that finished.
-