摘要: 配置1. applicationContext.xml Spring内部默认使用 ConcurrentHashMap 来存储, 配置中的activityCacheawardsCache 就是一个一个的ConcurrentHashMap 对象的名字. 另外 spring还支持使用EHCache来存储缓存.2. 在service的实现类上加上@Cacheable//@Service//publi... 阅读全文
posted @ 2014-01-16 09:56 堂哥 阅读(8578) 评论(0) 推荐(1) 编辑