Esempio n. 1
0
 public function getBrokerPropertys($brokerId, $rd, $yz, $type = '')
 {
     $key = Util_MemCacheKey::get_broker_propertys($brokerId, $type);
     APF::get_instance()->benchmark_begin(__CLASS__ . " getBrokerPropertys ");
     $memcache = APF_Cache_Factory::get_instance()->get_memcache();
     $list = $memcache->get($key);
     if (!$list) {
         $time = Util_MemCacheTime::get_broker_propertys();
         $list = parent::getBrokerPropertys($brokerId, $rd, $yz);
         $memcache->add($key, $list, 0, $time);
     }
     APF::get_instance()->benchmark_end(__CLASS__ . " getBrokerPropertys ");
     return $list;
 }