W3cubDocs

/Drupal 8

interface ReliableQueueInterface

Reliable queue interface.

Classes implementing this interface preserve the order of messages and guarantee that every item will be executed at least once.

Hierarchy

Related topics

Queue operations
Queue items to allow later processing.

File

core/lib/Drupal/Core/Queue/ReliableQueueInterface.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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Queue!ReliableQueueInterface.php/interface/ReliableQueueInterface/8.1.x