![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
---------redis
洛阳纸贵
这个作者很懒,什么都没留下…
展开
-
【Redis】io.lettuce.core.RedisCommandTimeoutException: Command timed out
错误原因:连接超时时间设置的过于短暂,修改为5000左右即可。原创 2018-07-19 15:27:49 · 4281 阅读 · 2 评论 -
【Redis】redis如何保存对象
redis数据结构: String——字符串 Hash——字典 List——列表 Set——集合 Sorted Set——有序集合 redisTemplate.opsForValue();//操作字符串 redisTemplate.opsForHash();//操作hash redisTemplate.opsForList();//操作list redisTemplate.opsFor...原创 2018-07-19 16:20:03 · 5061 阅读 · 0 评论