You are here

public function Redis_Queue_Base::getKeyForClaimed in Redis 7.3

Same name and namespace in other branches
  1. 7.2 lib/Redis/Queue/Base.php \Redis_Queue_Base::getKeyForClaimed()

Get claimed LIST key

Key will already be prefixed

Return value

string

4 calls to Redis_Queue_Base::getKeyForClaimed()
Redis_Queue_PhpRedis::claimItem in lib/Redis/Queue/PhpRedis.php
Claim an item in the queue for processing.
Redis_Queue_PhpRedis::deleteItem in lib/Redis/Queue/PhpRedis.php
Delete a finished item from the queue.
Redis_Queue_PhpRedis::deleteQueue in lib/Redis/Queue/PhpRedis.php
Delete a queue and every item in the queue.
Redis_Queue_PhpRedis::releaseItem in lib/Redis/Queue/PhpRedis.php
Release an item that the worker could not process, so another worker can come in and process it before the timeout expires.

File

lib/Redis/Queue/Base.php, line 81

Class

Redis_Queue_Base
Redis allows implementing reliable queues, here is the spec:

Code

public function getKeyForClaimed() {
  return $this
    ->getKey('claimed');
}