![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Redis
文章平均质量分 65
starriesWEB
啥也不是
展开
-
SpringCache缓存动态数据源数据
https://docs.spring.io/spring-framework/docs/current/reference/html/integration.html#cache-annotations-cacheable-default-key使用 threadLocal 获取数据源实现 org.springframework.cache.interceptor. KeyGenerator 接口,@EnableCaching@Configurationpublic class Redi.原创 2022-03-30 16:27:40 · 335 阅读 · 0 评论 -
redis入门
redis 数据类型字符串(string)简介String类型是二进制安全的。意味着Redis的string可以包含任何数据。比如jpg图片或者序列化的对象。字符串最大长度为512M。常用命令命令描述set key value设置指定key的值get key获取指定key的值del key删除keyexists key检查key是否存在expire key seconds给key设置过期时间,单位秒ttl key显示key的剩余过期原创 2021-07-10 15:47:32 · 293 阅读 · 0 评论