You are here

public function Redis_Queue_PhpRedis::createQueue in Redis 7.3

Same name and namespace in other branches
  1. 7.2 lib/Redis/Queue/PhpRedis.php \Redis_Queue_PhpRedis::createQueue()

Create a queue.

Called during installation and should be used to perform any necessary initialization operations. This should not be confused with the constructor for these objects, which is called every time an object is instantiated to operate on a queue. This operation is only needed the first time a given queue is going to be initialized (for example, to make a new database table or directory to hold tasks for the queue -- it depends on the queue implementation if this is necessary at all).

Overrides DrupalQueueInterface::createQueue

File

lib/Redis/Queue/PhpRedis.php, line 93

Class

Redis_Queue_PhpRedis
@todo Set high expire value to the hash for rotation when memory is empty React upon cache clear all and rebuild path list?

Code

public function createQueue() {
}