abstract class ReliableQueueBase in Redis 8
Redis queue implementation.
Hierarchy
- class \Drupal\redis\Queue\QueueBase implements QueueInterface
- class \Drupal\redis\Queue\ReliableQueueBase implements ReliableQueueInterface
Expanded class hierarchy of ReliableQueueBase
File
- src/
Queue/ ReliableQueueBase.php, line 12
Namespace
Drupal\redis\QueueView source
abstract class ReliableQueueBase extends QueueBase implements ReliableQueueInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueueBase:: |
protected | property | Key for hash table of available queue items. | |
QueueBase:: |
protected | property | Key for list of available items. | |
QueueBase:: |
protected | property | Key for list of claimed items. | |
QueueBase:: |
protected | property | Key of increment counter key. | |
QueueBase:: |
protected | property | Key prefix for items that are used to track expiration of leased items. | |
QueueBase:: |
protected | property | The name of the queue this instance is working with. | |
QueueBase:: |
protected | property | Reserve timeout for blocking item claim. | |
QueueBase:: |
public | function |
Creates a queue. Overrides QueueInterface:: |
|
QueueBase:: |
constant | Prefix used with all keys. | ||
QueueBase:: |
public | function | Constructs a \Drupal\Core\Queue\DatabaseQueue object. | 4 |
QueueInterface:: |
public | function | Claims an item in the queue for processing. | 2 |
QueueInterface:: |
public | function | Adds a queue item and store it directly to the queue. | 2 |
QueueInterface:: |
public | function | Deletes a finished item from the queue. | 2 |
QueueInterface:: |
public | function | Deletes a queue and every item in the queue. | 2 |
QueueInterface:: |
public | function | Retrieves the number of items in the queue. | 2 |
QueueInterface:: |
public | function | Releases an item that the worker could not process. | 2 |