abstract classe QueueAdapter (Voir la source)

Méthodes

string
serializeProducer(ProducerService $producer)

Create producer serialization

configure(array $config)

Make adapter configuration

setWatch(string $queue)

Watch the the queue name

setRetry(int $retry)

Set the retry value

push(ProducerService $producer)

Push new producer

size(string $queue)

Get the queue size

void
deleteJob(string $queue, string|int $id)

Delete a message from the queue.

string
getQueue(string $queue = null)

Get the queue or return the default.

run(string $queue = null)

Start the worker server

Détails

string serializeProducer(ProducerService $producer)

Create producer serialization

Paramètres

ProducerService $producer

Valeur de retour

string

abstract configure(array $config)

Make adapter configuration

Paramètres

array $config

abstract setWatch(string $queue)

Watch the the queue name

Paramètres

string $queue

abstract setRetry(int $retry)

Set the retry value

Paramètres

int $retry

abstract push(ProducerService $producer)

Push new producer

Paramètres

ProducerService $producer

abstract size(string $queue)

Get the queue size

Paramètres

string $queue

abstract void deleteJob(string $queue, string|int $id)

Delete a message from the queue.

Paramètres

string $queue
string|int $id

Valeur de retour

void

abstract string getQueue(string $queue = null)

Get the queue or return the default.

Paramètres

string $queue

Valeur de retour

string

abstract run(string $queue = null)

Start the worker server

Paramètres

string $queue