Defines a batch queue.
Stale items from failed batches are cleaned from the {queue} table on cron using the 'created' date.
Hierarchy
- class SystemQueue implements BackdropReliableQueueInterface
- class BatchQueue
Expanded class hierarchy of BatchQueue
File
- core/
includes/ batch.queue.inc, line 18 - Queue handlers used by the Batch API.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BatchQueue:: |
public | function |
Overrides SystemQueue::claimItem(). Overrides SystemQueue:: |
BatchQueue:: |
public | function | Retrieves all remaining items in the queue. |
SystemQueue:: |
protected | property | The name of the queue this instance is working with. |
SystemQueue:: |
public | function |
Add a queue item and store it directly to the queue. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |
Create a queue. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |
Delete a finished item from the queue. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |
Delete a queue and every item in the queue. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |
Retrieve the number of items in the queue. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |
Release an item that the worker could not process, so another
worker can come in and process it before the timeout expires. Overrides BackdropQueueInterface:: |
SystemQueue:: |
public | function |