redis
tigerSwimming
文章很水,不要骂
展开
-
【多图警告】Redis简介安装以及五大数据类型
NoSQL数据库概述NoSQL(NoSQL = Not Only SQL ),意即“不仅仅是SQL”,泛指非关系型的数据库。NoSQL 不依赖业务逻辑方式存储,而以简单的key-value模式存储。因此大大的增加了数据库的扩展能力。不遵循SQL标准。不支持ACID。远超于SQL的性能。NoSQL适用场景对数据高并发的读写海量数据的读写对数据高可扩展性的NoSQL不适用场景需要...原创 2020-05-24 12:13:56 · 157 阅读 · 0 评论 -
【解决】 io.lettuce.core.RedisCommandExecutionException: ERR wrong number of arguments for 'set' command
这个问题花了我挺长时间,在csdn上结果也不操作10条我是用的windows -redis在本地环境测试一开始的版本是更换了就不会报错 io.lettuce.core.RedisCommandExecutionException: ERR wrong number of arguments for ‘set’ command具体表现我是通过 swagger访问写好的接口,会断在controller执行service返回一次,能正常返回数据不会报错但是通过前台页面刷新访问会断在contr.原创 2020-05-10 10:13:03 · 7310 阅读 · 5 评论 -
解决'org.springframework.cache.interceptor.CacheExpressionRootObject' - maybe not public or not valid?
错误堆栈信息org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'selectIndexList' cannot be found on object of type 'org.springframework.cache.interceptor.CacheExpressionRootObject' - maybe not public or not valid? at org.原创 2020-05-09 22:56:56 · 10547 阅读 · 2 评论 -
【API使用】 redisTemplate.opsForValue()的重载方法 void set(K key, V value, long offset)使用说明
遇到的问题在使用的时候,我也以为set三个参数的情况下,第三个参数是过期时间,但是默认单位是什么呢?**四个重载方法,我们只看最后一个void set(K key, V value, long offset);分析springdata-redis提供的操作redis模板 redisTemplateredisTemplate.opsForValue() 拿到ValueOperationsValueOperations 是一个接口ValueOperations 介绍原文:Redis ope原创 2020-05-09 17:52:02 · 2616 阅读 · 1 评论 -
# springboot整合redis启动 启动类程序直接终止
springboot整合redis启动 启动类程序直接终止报错信息org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘redisTemplate’ defined in class path resource [com/domoyun/servicebase/config/RedisConfig.class]: Unsatisfied dependency exp原创 2020-05-09 13:36:36 · 1387 阅读 · 0 评论