Method | Description | |
---|---|---|
getSize ( ) : integer | Returns the number of queue size. | |
purge ( ) : boolean | Purge the whole queue. |
Method | Description | |
---|---|---|
deleteJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean | Delete the job. Override this for the queue implementation. | |
fetchJob ( ) : UrbanIndo\Yii2\Queue\Job | boolean | Return next job from the queue. Override this for queue implementation. | |
postJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean | Post new job to the queue. | |
releaseJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean | Release the job. Override this for the queue implementation. |
protected releaseJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean | ||
$job | UrbanIndo\Yii2\Queue\Job | The job to release. |
return | boolean | whether the operation succeed. |