/**
  * Gets the duration in seconds
  *
  * @return integer duration
  */
 public function getDurationSeconds()
 {
     return $this->batch->getDuration($this->name, 'start') / 1000;
 }