This class runs on a separate thread from workflowRunner, launching
jobs based on the current state of the TaskDAG
|
__init__(self,
cdata,
tdag)
This constructor should always be called with keyword arguments. |
source code
|
|
|
run(self)
TaskManager runs so long as there are outstanding jobs |
source code
|
|
|
_getCommandTaskRunner(self,
task)
assist launch of a command-task |
source code
|
|
|
_getWorkflowTaskRunner(self,
task)
assist launch of a workflow-task |
source code
|
|
|
_launchTask(self,
task)
launch a specific task |
source code
|
|
|
|
|
_removeTaskFromRunningSet(self,
task)
Given a running task which is already shown to be finished running,
remove it from the running set, and recover allocated resources. |
source code
|
|
|
harvestTasks(self,
*args,
**kw)
Check the set of running tasks to see if they've completed and update
Node status accordingly: |
source code
|
|
|
cancelTaskTree(self,
*args,
**kw)
Cancel a task and all of its children, without labeling the canceled
tasks as errors |
source code
|
|
|
stop(self,
*args,
**kw)
thread specific stop method, may be overridden to add async
thread-specific kill behavior |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from StoppableThread :
stopped
Inherited from threading.Thread :
__repr__ ,
getName ,
isAlive ,
isDaemon ,
is_alive ,
join ,
setDaemon ,
setName ,
start
Inherited from threading.Thread (private):
_reset_internal_locks ,
_set_daemon ,
_set_ident
Inherited from threading._Verbose (private):
_note
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|