摘要: 今天在使用Spring cache的Cacheable注解的过程中遇见了一个Cacheable注解失效的问题,检查问题发生的原因是因为Spring的Cacheable注解是基于Spring AOP实现的,但是类内部方法互相调用时不会被Spring AOP拦截的,所以导致被调用方法的Cacheable 阅读全文
posted @ 2017-12-22 21:19 喜东东 阅读(569) 评论(0) 推荐(0) 编辑
摘要: + View Code + View Code + View Code + View Code 阅读全文
posted @ 2017-12-22 21:18 喜东东 阅读(594) 评论(0) 推荐(0) 编辑