org.globus.cog.abstraction.impl.common.task
Class CachingFileTransferTaskHandler
java.lang.Object
org.globus.cog.abstraction.impl.common.task.FileTransferTaskHandler
org.globus.cog.abstraction.impl.common.task.CachingFileTransferTaskHandler
- All Implemented Interfaces:
- StatusListener, TaskHandler
- public class CachingFileTransferTaskHandler
- extends FileTransferTaskHandler
|
Method Summary |
void |
submit(Task task)
Submits the given Taskfor execuiton. |
| Methods inherited from class org.globus.cog.abstraction.impl.common.task.FileTransferTaskHandler |
cancel, getActiveTasks, getAllTasks, getCanceledTasks, getCompletedTasks, getFailedTasks, getHandleMap, getResumedTasks, getSuspendedTasks, getType, remove, resume, setType, statusChanged, suspend |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingFileTransferTaskHandler
public CachingFileTransferTaskHandler()
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 FileTransferTaskHandler
- Throws:
IllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException