org.sape.carbon.services.threadpool
Interface TaskCallback


public interface TaskCallback

This interface should be implemented by clients who want to take some action when a task is complete. Copyright 2003 Sapient

Since:
carbon 2.1
Version:
$Revision: 1.2 $($Author: dvoet $ / $Date: 2003/11/20 18:49:59 $)
Author:
Douglas Voet, Nov 17, 2003

Method Summary
 void taskFailed(TaskInfo taskInfo)
          This method is called when a task fails.
 void taskSucceeded(TaskInfo taskInfo)
          This method is called when a task completes successfully.
 

Method Detail

taskSucceeded

public void taskSucceeded(TaskInfo taskInfo)
This method is called when a task completes successfully.

Parameters:
taskInfo - the TaskInfo object of the completed task

taskFailed

public void taskFailed(TaskInfo taskInfo)
This method is called when a task fails.

Parameters:
taskInfo - the TaskInfo object of the completed task


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.