Interface for a queue.
Classes implementing this interface will do a best effort to preserve order in messages and to execute them at least once.
Hierarchy
- interface \Drupal\Core\Queue\QueueInterface
Related topics
- Queue operations
- Queue items to allow later processing.
File
- core/lib/Drupal/Core/Queue/QueueInterface.php, line 13
Namespace
Drupal\Core\Queue
Members
Name | Modifiers | Type | Description |
---|---|---|---|
QueueInterface::claimItem | public | function | Claims an item in the queue for processing. |
QueueInterface::createItem | public | function | Adds a queue item and store it directly to the queue. |
QueueInterface::createQueue | public | function | Creates a queue. |
QueueInterface::deleteItem | public | function | Deletes a finished item from the queue. |
QueueInterface::deleteQueue | public | function | Deletes a queue and every item in the queue. |
QueueInterface::numberOfItems | public | function | Retrieves the number of items in the queue. |
QueueInterface::releaseItem | public | function | Releases an item that the worker could not process. |
Please login to continue.