public function getBrokerCompany($CompanyId) { $key = Util_MemCacheKey::get_broker_company($CompanyId); APF::get_instance()->benchmark_begin(__CLASS__ . " getbrokercompany "); $memcache = APF_Cache_Factory::get_instance()->get_memcache(); $list = $memcache->get($key); if (!$list) { $time = Util_MemCacheTime::get_broker_company(); $list = parent::getBrokerCompany($CompanyId); $memcache->add($key, $list, 0, $time); } APF::get_instance()->benchmark_end(__CLASS__ . " getbrokercompany "); return $list; }