38 public const JOB_NO_EXPLICIT_TRX_ROUND = 1;
53 public function run();
Interface for serializable objects that describe a job queue task.
Job that has a run() method and metadata accessors for JobQueue::pop() and JobQueue::ack().
getMetadata( $field=null)
allowRetries()
Whether to retry execution of this job if run() returned false or threw an exception.
tearDown( $status)
Do any final cleanup after run(), deferred updates, and all DB commits happen.
setMetadata( $field, $value)