public function getBrokerCompanyInfo($company_id) { $key = Util_MemCacheKey::get_broker_company_info($company_id); APF::get_instance()->benchmark_begin(__CLASS__ . " getBrokerCompanyInfo_{$company_id}"); $memcache = APF_Cache_Factory::get_instance()->get_memcache(); $value = $memcache->get($key); if (!$value) { $time = Util_MemCacheTime::get_broker_company_info(); $value = parent::getBrokerCompanyInfo($company_id); $memcache->add($key, $value, 0, $time); } APF::get_instance()->benchmark_end(__CLASS__ . " getBrokerCompanyInfo_{$company_id}"); return $value; }