A JobTicket is an object returned to clients making asynchronous
requests. It puts them in control of how they manage n concurrent
requests.
|
__init__(self,
node,
id,
cmd,
kw,
**opts)
You should never instantiate a JobTicket object yourself |
source code
|
|
|
isComplete(self)
Returns True if the job has been completed |
source code
|
|
|
wait(self,
timeout=None)
Waits forever (or for a given timeout) for a job to complete |
source code
|
|
|
waitTillReqSent(self)
Waits till the request has been sent to node |
source code
|
|
|
|
|
callback(self,
status,
value)
This will be replaced in job ticket instances wherever user provides
callback arguments |
source code
|
|
|
|
|
|
|
_putResult(self,
result)
Called by manager thread to indicate job is complete, and submit a
result to be picked up by client |
source code
|
|
|
|
|
|