W3cubDocs

/Drupal 8

interface QueueInterface

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

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.

© 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!QueueInterface.php/interface/QueueInterface/8.1.x