コード例 #1
0
 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');
 }
コード例 #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');
 }
コード例 #3
0
 public function __construct(Client $redis, $name)
 {
     parent::__construct($redis, $name);
     $this->queue = new SchedulingQueue($this->redis, $this->name);
 }