You are here

public function QueueInterface::releaseItemMultiple in Purge 8.3

Release multiple items that the worker could not process.

Another worker can come in and process these before the timeout expires.

Parameters

array $items: Non-associative array with item objects as returned by claimItemMultiple() or \Drupal\Core\Queue\QueueInterface::claimItem().

Return value

array Empty array upon full success, else the remaining items that failed.

2 methods override QueueInterface::releaseItemMultiple()
DatabaseQueue::releaseItemMultiple in src/Plugin/Purge/Queue/DatabaseQueue.php
Release multiple items that the worker could not process.
QueueBase::releaseItemMultiple in src/Plugin/Purge/Queue/QueueBase.php
Release multiple items that the worker could not process.

File

src/Plugin/Purge/Queue/QueueInterface.php, line 78

Class

QueueInterface
Describes a ReliableQueueInterface compliant queue that can hold queue items.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function releaseItemMultiple(array $items);