Redis
文章平均质量分 55
Len°
积小流,成江河!
展开
-
Spring中Redis使用
RedisTemplate如何检查一个key是否存在?return getRedisTemplate().hasKey(key);由一个问题,复习了一下redis抄自:https://www.jianshu.com/p/7bf5dc61ca06大部分都试了一遍Redis 数据结构简介Redis可以存储键与5种不同数据结构类型之间的映射,这5种数据结构类型分别为String(字符串)、List(列表)、Set(集合)、Hash(散列)和 Zset(有序集合)。下面..原创 2020-07-01 14:23:10 · 3890 阅读 · 0 评论 -
Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: 解决办法
问题:今天测试测流程,发现项目报下面这个错误Redis exception; nested exception is io.lettuce.core.RedisException: io.lettuce.core.RedisConnectionException: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentica原创 2020-07-01 12:00:28 · 25023 阅读 · 6 评论