/**
* 該方法上加事務,傳播途徑為required
* @param params
* @return
*/
public List<object> getObject(Map<String, String> params) {
//先從memcached中取得數據
List<object> o1 = memcachedClient.getFromCache(params);
if (o1 == null) {
ol = ObjectDao.getfromDB(params);
memcachedClient.putToCache(params, o1);
}
return o1;
}