public function __construct(Client $redis, $name)
 {
     parent::__construct($redis, $name);
     $this->autoIncrementingId = new UniqueId($this->redis, $name . ':auto-incrementing-id');
     $this->hashTable = new HashTable($this->redis, $name . ':hash-table');
 }
Beispiel #2
0
 public function __construct(Client $redis, $name)
 {
     parent::__construct($redis, $name);
     $this->mainQueue = new Queue($this->redis, $this->name);
     $this->safeQueue = new Queue($this->redis, $this->name . ':safe');
 }
 public function __construct(Client $redis, $name)
 {
     parent::__construct($redis, $name);
     $this->queue = new SchedulingQueue($this->redis, $this->name);
 }