interface ReliableQueueInterface

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Queue/ReliableQueueInterface.php \Drupal\Core\Queue\ReliableQueueInterface
  2. 10 core/lib/Drupal/Core/Queue/ReliableQueueInterface.php \Drupal\Core\Queue\ReliableQueueInterface
  3. 11.x core/lib/Drupal/Core/Queue/ReliableQueueInterface.php \Drupal\Core\Queue\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

Expanded class hierarchy of ReliableQueueInterface

All classes that implement ReliableQueueInterface

Related topics

File

core/lib/Drupal/Core/Queue/ReliableQueueInterface.php, line 13

Namespace

Drupal\Core\Queue
View source
interface ReliableQueueInterface extends QueueInterface {

}

Members

Title Sort descending Modifiers Object type Summary 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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.