|
|
|
|
|
_start_thread(self)
New Task thread entry point. |
source code
|
|
|
|
info(self,
info_key,
def_val=None)
Return per-task information. |
source code
|
|
|
|
set_info(self,
info_key,
value)
Set task-specific information state. |
source code
|
|
|
|
shell(self,
command,
**kwargs)
Schedule a shell command for local or distant execution. |
source code
|
|
|
|
copy(self,
source,
dest,
nodes,
**kwargs)
Copy local file to distant nodes. |
source code
|
|
|
|
timer(self,
fire,
handler,
interval=-1.0,
autoclose=False)
Create task's timer. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_terminate(self,
kill)
Abort completion subroutine. |
source code
|
|
|
|
join(self)
Suspend execution of the calling thread until the target task
terminates, unless the target task has already terminated. |
source code
|
|
|
|
_reset(self)
Reset buffers and retcodes management variables. |
source code
|
|
|
|
_msg_add(self,
source,
msg)
Add a worker message associated with a source. |
source code
|
|
|
|
_rc_set(self,
source,
rc,
override=True)
Add a worker return code associated with a source. |
source code
|
|
|
|
_timeout_add(self,
source)
Add a worker timeout associated with a source. |
source code
|
|
|
|
_msg_by_source(self,
source)
Get a message by its source (worker, key). |
source code
|
|
|
|
_msg_iter_by_key(self,
key)
Return an iterator over stored messages for the given key. |
source code
|
|
|
|
_msg_iter_by_worker(self,
worker,
match_keys=None)
Return an iterator over messages and keys list for a specific worker
and optional matching keys. |
source code
|
|
|
|
_kmsg_iter_by_worker(self,
worker)
Return an iterator over key, message for a specific worker. |
source code
|
|
|
|
_rc_by_source(self,
source)
Get a return code by its source (worker, key). |
source code
|
|
|
|
_rc_iter_by_key(self,
key)
Return an iterator over return codes for the given key. |
source code
|
|
|
|
_rc_iter_by_worker(self,
worker,
match_keys=None)
Return an iterator over return codes and keys list for a specific
worker and optional matching keys. |
source code
|
|
|
|
_krc_iter_by_worker(self,
worker)
Return an iterator over key, rc for a specific worker. |
source code
|
|
|
|
_num_timeout_by_worker(self,
worker)
Return the number of timed out "keys" for a specific
worker. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|