2017年3月6日
摘要: Spring Cache 两个需求 缓存失效时间支持在方法的注解上指定 Spring Cache默认是不支持在@Cacheable上添加过期时间的,可以在配置缓存容器时统一指定: @Bean public CacheManager cacheManager( @SuppressWarnings("r 阅读全文
posted @ 2017-03-06 19:29 min.jiang 阅读(56970) 评论(5) 推荐(6) 编辑