Пример #1
0
 /**
  * Check whether necessary to pause for slave lag
  */
 protected function checkPause()
 {
     parent::checkPause();
     foreach ($this->slaves as $slave) {
         $this->checkSlave($slave);
     }
 }
Пример #2
0
 /**
  * @param LoggerInterface $logger
  * @return void
  */
 public function setLogger(LoggerInterface $logger)
 {
     $this->chunk->setLogger($logger);
     $this->setParentLogger($logger);
 }