Queue\Beanstalk

Class Phalcon\Queue\Beanstalk

Class to access the beanstalk queue service. Partially implements the protocol version 1.2

Methods

public __construct ([array $options])

public connect ()

...

public string|boolean put (string $data, [array $options])

Inserts jobs into the queue

public boolean|PhalconQueueBeanstalkJob reserve ([unknown $timeout])

Reserves a job in the queue

public string|boolean choose (string $tube)

Change the active tube. By default the tube is ‘default’

登录查看完整内容