コード例 #1
0
 public function get_broker_finished_props($brokerid, $num)
 {
     $key = Util_MemCacheKey::get_broker_finished_props($brokerid, $num);
     APF::get_instance()->benchmark_begin(__CLASS__ . " get_broker_finished_props ");
     $memcache = APF_Cache_Factory::get_instance()->get_memcache();
     $list = $memcache->get($key);
     if (!$list) {
         $list = parent::get_broker_finished_props($brokerid, $num);
         $memcache->add($key, $list, 0, Util_MemCacheTime::get_broker_finished_props());
     }
     APF::get_instance()->benchmark_end(__CLASS__ . " get_broker_finished_props ");
     return $list;
 }