2012年10月20日

摘要: Spring缓存机制中,包括两个方面的缓存操作1.缓存某个方法返回的结果或者流2.在某个方法执行前或后清空缓存Spring的缓存机制是基于Spring的AOP,那么在 Spring Cache中应该存在着一个Advice。那就是org.springframework.cache.Cache。但spring并不是直接使用org.springframework.cache.Cache,spring把Cache对象交给org.springframework.cache.CacheManager来管理。在spring对EHCache的支持中,org.springframework.cache.ehca 阅读全文
posted @ 2012-10-20 22:52 angelshelter 阅读(480) 评论(0) 推荐(0) 编辑

导航