Skip to content

Queue

Everything under Quiote\Queue.

ClassDescription
ExecutionFailureOutcome of a failed JobExecutor::attempt() call: retry, or give up.
FailedJobA job whose retries were exhausted, handed to a FailedJobStoreInterface.
FailedJobRecordA stored dead-letter row, as returned by InspectableFailedJobStoreInterface.
JobExecutorShared retry/backoff decision logic used by both SyncQueueDriver (in-process blocking retry loop) and QueueWorker (one attempt per poll, deferred retry via the driver), so the policy is not duplicated per driver.
JobPayloadA queued job identified by class + constructor params, not a serialized object — on execution the class is rebuilt via Container::make(), so constructor-injected services autowire normally.
LogFailedJobStoreDefault FailedJobStoreInterface: logs the failure and drops it.
QueueConfigTyped snapshot of the queue.* settings family.
QueueDriverRegistryProcess-global registry mapping short driver aliases (e.g.
QueueManagerApp-facing entry point: $container->get(QueueManager::class)->push(SendWelcomeEmail::class, ['userId' => 5]).
QueuePluginRegisters the queue subsystem: queue.* setting defaults (sync driver, out of the box), a default LogFailedJobStore, the QueueManager/QueueWorker services, queue:work, and the queue:failed:* dead-letter inspection commands (a no-op error, not a crash, against the default store — see AbstractQueueFailedCommand::resolveInspectableStore()).
QueueWorkerDrives a PollableQueueDriverInterface’s backlog one job at a time; used by queue:work.
ReservedJobA JobPayload claimed off a PollableQueueDriverInterface by reserve().
SyncQueueDriverThe always-available default driver (queue.default_driver = sync): push() executes the job inline, in-process, with blocking retries via JobExecutor::executeWithRetries().
InterfaceDescription
FailedJobStoreInterfaceDead-letter sink for jobs that exhausted their retries.
InspectableFailedJobStoreInterfaceA FailedJobStoreInterface whose dead-letter records can be listed, looked up, and removed — the query side needed by queue:failed:list/queue:failed:retry/queue:failed:forget (see QueueFailedListCommand and friends).
JobA unit of background work.
PollableQueueDriverInterfaceA queue driver with a persistent backlog that an out-of-process worker (queue:work, see QueueWorker) can poll.
QueueDriverInterfaceMinimal contract every queue driver implements.
RetryableJobOpt-in per-job retry policy.
NamespaceContents
Console5 types
Db3 types
Redis2 types