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

Expanded class hierarchy of QueueInterface

All classes that implement QueueInterface

File

drupal/core/lib/Drupal/Core/Queue/QueueInterface.php, line 16
Definition of Drupal\Core\Queue\QueueInterface.

Namespace

Drupal\Core\Queue
View source

Members

Namesort descending Modifiers Type Description Overrides
QueueInterface::claimItem public function Claims an item in the queue for processing. 2
QueueInterface::createItem public function Adds a queue item and store it directly to the queue. 2
QueueInterface::createQueue public function Creates a queue. 2
QueueInterface::deleteItem public function Deletes a finished item from the queue. 2
QueueInterface::deleteQueue public function Deletes a queue and every item in the queue. 2
QueueInterface::numberOfItems public function Retrieves the number of items in the queue. 2
QueueInterface::releaseItem public function Releases an item that the worker could not process. 2