class documentation
class _JobDependencyManager(object):
Keeps track of job dependencies.
Method | __init__ |
Initializes this class. |
Method |
|
Checks if a dependency job has the requested status. |
Method |
|
Checks if a job is waiting. |
Constant | CANCEL |
Undocumented |
Constant | CONTINUE |
Undocumented |
Constant | ERROR |
Undocumented |
Constant | WAIT |
Undocumented |
Constant | WRONGSTATUS |
Undocumented |
Method | _ |
Remove all jobs without actual waiters. |
Instance Variable | _getstatus |
Undocumented |
Instance Variable | _waiters |
Undocumented |
Checks if a dependency job has the requested status.
If the other job is not yet in a finalized status, the calling job will be notified (re-added to the workerpool) at a later point.
Parameters | |
job:_QueuedJob | Job object |
dep | ID of dependency job |
dep | Required status |