public function __construct() {/*{{{*/ $this->maxConnectTime = 80;//ms DAL::get()->setUp('ops'); foreach (Cacher::getCacheTypes() as $type) { $cacher = DAL::get()->getCache($type); $sets = $cacher->getStats(); $sets = array_keys($sets); foreach ($sets as $set) { $arr = explode(':', $set); $this->hosts[] = array('host' => $arr[0], 'port' => $arr[1]); } } }/*}}}*/