class
DatabaseQueueStatsProvider implements
QueueStatsProvider
Queue stats for the database driver, read from the queue_jobs and
queue_failed_jobs tables. A job is "reserved" (in-flight) once a worker has
picked it up (reserved_at is set); otherwise it is pending.
Methods
array
totals()
Aggregate counts across all queues on the active connection.
array
queues()
Per-queue pending/reserved counts, keyed by queue name.
Details
__construct(ConnectionInterface $db)
array
totals()
Aggregate counts across all queues on the active connection.
array
queues()
Per-queue pending/reserved counts, keyed by queue name.