会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
王某人i
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
redis
@CachePut 更新数据库,更新缓存
摘要:关于更新缓存 ,要注意 得两点:一、@Cacheable 的key 要和 @CachePut 的key 一致比如: @Cacheable(key = "'userCache'") //缓存, public Uuser findByEmail(String em...
阅读全文
posted @
2018-08-02 10:54
王某人i
阅读(3896)
评论(0)
推荐(1)
Springboot 利用redis 作二级缓存
摘要:一、导入redis jar包 org.springframework.boot spring-boot-starter-data-redis redis...
阅读全文
posted @
2018-07-29 15:46
王某人i
阅读(747)
评论(0)
推荐(1)
公告