知行合一

博客园 首页 新随笔 联系 订阅 管理

2021年3月9日 #

摘要: redis操作类 package com.imooc.utils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.dao.DataAccessException; i 阅读全文
posted @ 2021-03-09 23:43 callbin 阅读(100) 评论(0) 推荐(0) 编辑

摘要: 1. 引入 redis 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2. 配置red 阅读全文
posted @ 2021-03-09 23:23 callbin 阅读(53) 评论(0) 推荐(0) 编辑

摘要: 一、Redis的线程模型 就如同KTV点歌 二、多路复用器(理解) 只负责接待,丢给酒店,具体由酒店负责。 阅读全文
posted @ 2021-03-09 21:30 callbin 阅读(178) 评论(0) 推荐(0) 编辑

摘要: http://redisdoc.com/index.html 一、Redis的数据类型 - string string 字符串 string: 最简单的字符串类型键值对缓存,也是最基本的 字符串类型是Redis中最基本的数据类型,它能存储任何形式的字符串,包括二进制数据。你可以用其存储用户的邮箱、J 阅读全文
posted @ 2021-03-09 17:21 callbin 阅读(54) 评论(0) 推荐(0) 编辑

摘要: 一、下载 官网: https://redis.io/download 选择下载稳定版本。 ps -ef | grep redis 二、安装Redis 1、解压redis tar -zxvf redis-5.0.12.tar.gz 6.06版本安装 # wget wget http://downloa 阅读全文
posted @ 2021-03-09 11:02 callbin 阅读(264) 评论(0) 推荐(0) 编辑