/** * Returns the total number of all queue size. * @return integer */ public function getSize() { return $this->db->llen($this->key); }