DoormanRunner
class DoormanRunner extends BaseRunner implements TaskRunnerEngine (View source)
Runs all jobs through the doorman engine
Properties
protected | string | $defaultRules |
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
setDefaultRules(array $rules)
Assign default rules for this task
array
getDefaultRules()
No description
runQueue(string $queue)
Run tasks on the given queue
protected null|QueuedJobDescriptor
getNextJobDescriptorWithoutMutex(string $queue)
No description