PHP 클래스 UrbanIndo\Yii2\Queue\Queues\DummyQueue

상속: extends UrbanIndo\Yii2\Queue\Queue
파일 보기 프로젝트 열기: urbanindo/yii2-queue

공개 메소드들

메소드 설명
getSize ( ) : integer Returns the number of queue size.
purge ( ) : boolean Purge the whole queue.

보호된 메소드들

메소드 설명
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.

메소드 상세

deleteJob() 보호된 메소드

Delete the job. Override this for the queue implementation.
protected deleteJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean
$job UrbanIndo\Yii2\Queue\Job The job to delete.
리턴 boolean whether the operation succeed.

fetchJob() 보호된 메소드

Return next job from the queue. Override this for queue implementation.
protected fetchJob ( ) : UrbanIndo\Yii2\Queue\Job | boolean
리턴 UrbanIndo\Yii2\Queue\Job | boolean the job or false if not found.

getSize() 공개 메소드

Returns the number of queue size.
public getSize ( ) : integer
리턴 integer

postJob() 보호된 메소드

Post new job to the queue.
protected postJob ( UrbanIndo\Yii2\Queue\Job $job ) : boolean
$job UrbanIndo\Yii2\Queue\Job The job.
리턴 boolean Whether operation succeed.

purge() 공개 메소드

Purge the whole queue.
public purge ( ) : boolean
리턴 boolean

releaseJob() 보호된 메소드

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.
리턴 boolean whether the operation succeed.