Part of lp.services.job.model.job View In Hierarchy
IJob
.Method | job_id | Undocumented |
Method | is_pending | See IJob . |
Method | is_runnable | See IJob . |
Class Method | createMultiple | Create multiple `Job`s at once. |
Method | acquireLease | See IJob . |
Method | getTimeout | Return the number of seconds until the job should time out. |
Method | start | See IJob . |
Method | complete | See IJob . |
Method | fail | See IJob . |
Method | queue | See IJob . |
Method | suspend | See IJob . |
Method | resume | See IJob . |
Method | _set_status | Undocumented |
Inherited from SQLBase:
Method | __init__ | Extended version of the SQLObjectBase constructor. |
Method | __repr__ | Undocumented |
Method | destroySelf | Undocumented |
Method | __eq__ | Equality operator. |
Method | __ne__ | Inverse of __eq__. |
Method | __storm_invalidated__ | Flush cached properties. |
Class Method | _get_store | Undocumented |
Create multiple `Job`s at once. :param store: `Store` to ceate the jobs in. :param num_jobs: Number of `Job`s to create. :param request: The `IPerson` requesting the jobs. :return: An iterable of `Job.id` values for the new jobs.