2023年8月7日

@Cacheable 、 @CachePut 、@CacheEvict 注解

摘要: 使用场景 在开发中,需要使用缓存时,可以使用 @Cacheable 、 @CachePut 、@CacheEvict 注解。 注意: @Cacheable 、 @CachePut 、@CacheEvict 是基于 Aop 动态代理实现的。 因此,如果在同一个类里面,调用 @Cacheable 注解的 阅读全文

posted @ 2023-08-07 22:39 乐之者v 阅读(120) 评论(0) 推荐(0) 编辑

导航