org.globus.cog.abstraction.impl.common.task
Class CachingFileOperationTaskHandler
java.lang.Object
org.globus.cog.abstraction.impl.common.task.FileOperationTaskHandler
org.globus.cog.abstraction.impl.common.task.CachingFileOperationTaskHandler
- All Implemented Interfaces:
- TaskHandler
- public class CachingFileOperationTaskHandler
- extends FileOperationTaskHandler
|
Method Summary |
void |
submit(Task task)
Submits the given Taskfor execuiton. |
| Methods inherited from class org.globus.cog.abstraction.impl.common.task.FileOperationTaskHandler |
cancel, getActiveTasks, getAllTasks, getCanceledTasks, getCompletedTasks, getFailedTasks, getResumedTasks, getSuspendedTasks, getType, remove, resume, setType, suspend |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingFileOperationTaskHandler
public CachingFileOperationTaskHandler()
submit
public void submit(Task task)
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException
- Description copied from interface:
TaskHandler
- Submits the given
Taskfor execuiton. The Task is
submitted to the TaskHandler in an asynchronous mode,
whereby the method returns immediately after submitting the task to the
remote machine. The status and output of the task can be monitored
asynchronously by the
ExecutableObject.addStatusListener(StatusListener)and
Task.addOutputListener(OutputListener)methods respectively.
- Specified by:
submit in interface TaskHandler- Overrides:
submit in class FileOperationTaskHandler
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException