예제 #1
0
파일: RedisQueue.php 프로젝트: yiqing95/bbq
 public function __construct($id, \Predis\ClientInterface $predis, $queueKey, array $config = array())
 {
     $this->predis = $predis;
     $this->queueKey = $queueKey;
     parent::__construct($id, $config);
 }
예제 #2
0
 public function __construct($id, \Pheanstalk_Pheanstalk $pheanstalk, $tube, array $config = array())
 {
     $this->pheanstalk = $pheanstalk;
     $this->tube = $tube;
     parent::__construct($id, $config);
 }
예제 #3
0
 public function deleteLockedJob(JobInterface $jobToDelete)
 {
     @unlink($jobToDelete->getJobFilePath());
     parent::deleteLockedJob($jobToDelete);
 }
예제 #4
0
 public function __construct($id, \IronMQ $ironMQ, $queue_name, array $config = array())
 {
     $this->ironMQ = $ironMQ;
     $this->queue_name = $queue_name;
     parent::__construct($id, $config);
 }