BeanstalkdAdapter
class BeanstalkdAdapter extends QueueAdapter (View source)
Methods
configure(array $queue)
Configure Beanstalkd driver
setWatch(string $name)
Get connexion
setRetry(int $retry)
Get connexion
size(string $queue = null)
Get the size of the queue.
void
deleteJob(string $queue, string|int $id)
Delete a message from the Beanstalk queue.
string
getQueue(string $queue = null)
Get the queue or return the default.
run(string $queue = null)
Run the worker
Details
string
serializeProducer(ProducerService $producer)
Create producer serialization
configure(array $queue)
Configure Beanstalkd driver
setWatch(string $name)
Get connexion
setRetry(int $retry)
Get connexion
push(ProducerService $producer)
Queue a job
size(string $queue = null)
Get the size of the queue.
void
deleteJob(string $queue, string|int $id)
Delete a message from the Beanstalk queue.
string
getQueue(string $queue = null)
Get the queue or return the default.
run(string $queue = null)
Run the worker