Method |
Description |
|
__construct ( array $options = null ) |
|
|
addWorker ( string $tube, callable $callback ) |
Adds new worker to the pool. |
|
doWork ( boolean $ignoreErrors = false ) |
Runs the main worker cycle. |
|
getJobStats ( integer $job_id ) : null | array |
Returns information about specified job if it exists |
|
getTubeStats ( string $tube ) : null | array |
Returns information about the specified tube if it exists. |
|
getTubes ( ) : array |
Returns the names of all tubes on the server. |
|
ignoreTube ( string $tube ) : null | array |
Returns the number of tube watched by current session. |
|
putInTube ( string $tube, string $data, array $options = null ) : boolean | string |
Puts a job on the queue using specified tube. |
|
reserveFromTube ( string $tube, integer $timeout = null ) : boolean | Phalcon\Queue\Beanstalk\Job |
Reserves/locks a ready job from the specified tube. |
|