org.globus.cog.abstraction.impl.common.task
Class CachingFileOperationTaskHandler

java.lang.Object
  extended byorg.globus.cog.abstraction.impl.common.task.FileOperationTaskHandler
      extended byorg.globus.cog.abstraction.impl.common.task.CachingFileOperationTaskHandler
All Implemented Interfaces:
TaskHandler

public class CachingFileOperationTaskHandler
extends FileOperationTaskHandler


Field Summary
 
Fields inherited from interface org.globus.cog.abstraction.interfaces.TaskHandler
EXECUTION, FILE_OPERATION, FILE_TRANSFER, GENERIC
 
Constructor Summary
CachingFileOperationTaskHandler()
           
 
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
 

Constructor Detail

CachingFileOperationTaskHandler

public CachingFileOperationTaskHandler()
Method Detail

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