class BatchMemoryQueue

Defines a batch queue for non-progressive batches.

Hierarchy

Expanded class hierarchy of BatchMemoryQueue

File

includes/batch.queue.inc, line 55
Queue handlers used by the Batch API.

Members

Name Modifiers Type Description
BatchMemoryQueue::claimItem public function Overrides MemoryQueue::claimItem(). Overrides MemoryQueue::claimItem
BatchMemoryQueue::getAllItems public function Retrieves all remaining items in the queue.
MemoryQueue::$id_sequence protected property Counter for item ids.
MemoryQueue::$queue protected property The queue data.
MemoryQueue::createItem public function Add a queue item and store it directly to the queue. Overrides DrupalQueueInterface::createItem
MemoryQueue::createQueue public function Create a queue. Overrides DrupalQueueInterface::createQueue
MemoryQueue::deleteItem public function Delete a finished item from the queue. Overrides DrupalQueueInterface::deleteItem
MemoryQueue::deleteQueue public function Delete a queue and every item in the queue. Overrides DrupalQueueInterface::deleteQueue
MemoryQueue::numberOfItems public function Retrieve the number of items in the queue. Overrides DrupalQueueInterface::numberOfItems
MemoryQueue::releaseItem public function Release an item that the worker could not process, so another worker can come in and process it before the timeout expires. Overrides DrupalQueueInterface::releaseItem
MemoryQueue::__construct public function Start working with a queue.

© 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/includes!batch.queue.inc/class/BatchMemoryQueue/7.x