|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.cog.abstraction.impl.execution.condor.TaskHandlerImpl
Provides a condor TaskHandler for job submission to a
condor submit machine without any security context.
| Field Summary |
| Fields inherited from interface org.globus.cog.abstraction.interfaces.TaskHandler |
EXECUTION, FILE_OPERATION, FILE_TRANSFER, GENERIC |
| Constructor Summary | |
TaskHandlerImpl()
|
|
| Method Summary | |
void |
cancel(Task task)
|
Collection |
getActiveTasks()
return a collection of active tasks |
Collection |
getAllTasks()
return a collection of all tasks submitted to the handler |
Collection |
getCanceledTasks()
return a collection of canceled tasks |
Collection |
getCompletedTasks()
return a collection of completed tasks |
Collection |
getFailedTasks()
return a collection of failed tasks |
Collection |
getResumedTasks()
return a collection of resumed tasks |
Collection |
getSuspendedTasks()
return a collection of suspended tasks |
int |
getType()
|
void |
remove(Task task)
|
void |
resume(Task task)
|
void |
setType(int type)
|
void |
statusChanged(StatusEvent event)
|
void |
submit(Task task)
|
void |
suspend(Task task)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TaskHandlerImpl()
| Method Detail |
public void setType(int type)
setType in interface TaskHandlerpublic int getType()
getType in interface TaskHandler
public void submit(Task task)
throws IllegalSpecException,
InvalidSecurityContextException,
InvalidServiceContactException,
TaskSubmissionException
submit in interface TaskHandlerIllegalSpecException
InvalidSecurityContextException
InvalidServiceContactException
TaskSubmissionException
public void suspend(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
suspend in interface TaskHandlerInvalidSecurityContextException
TaskSubmissionException
public void resume(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
resume in interface TaskHandlerInvalidSecurityContextException
TaskSubmissionException
public void cancel(Task task)
throws InvalidSecurityContextException,
TaskSubmissionException
cancel in interface TaskHandlerInvalidSecurityContextException
TaskSubmissionException
public void remove(Task task)
throws ActiveTaskException
remove in interface TaskHandlerActiveTaskExceptionpublic Collection getAllTasks()
getAllTasks in interface TaskHandlerpublic Collection getActiveTasks()
getActiveTasks in interface TaskHandlerpublic Collection getFailedTasks()
getFailedTasks in interface TaskHandlerpublic Collection getCompletedTasks()
getCompletedTasks in interface TaskHandlerpublic Collection getSuspendedTasks()
getSuspendedTasks in interface TaskHandlerpublic Collection getResumedTasks()
getResumedTasks in interface TaskHandlerpublic Collection getCanceledTasks()
getCanceledTasks in interface TaskHandlerpublic void statusChanged(StatusEvent event)
statusChanged in interface StatusListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||