QueueRunner
class QueueRunner extends BaseRunner implements TaskRunnerEngine (View source)
Runs all jobs in a queue loop in one process
Methods
protected
writeLogLine(string $line, null|string $prefix = null)
Write in a format expected by the output medium (CLI/HTML).
from
BaseRunner
protected
logDescriptorStatus(bool|null|QueuedJobDescriptor $descriptor, string $queue)
Logs the status of the queued job descriptor.
from
BaseRunner
Details
QueuedJobService
getService()
Returns an instance of the QueuedJobService.
protected
writeLogLine(string $line, null|string $prefix = null)
Write in a format expected by the output medium (CLI/HTML).
protected
logDescriptorStatus(bool|null|QueuedJobDescriptor $descriptor, string $queue)
Logs the status of the queued job descriptor.
listJobs()
Logs the number of current jobs per queue
runQueue(string $queue)
No description