【文件属性】:
文件名称:SpringBoot2.0整合SpringCache和Redis.docx
文件大小:146KB
文件格式:DOCX
更新时间:2020-03-18 21:38:23
spring springboot redis
SpringBoot2.0整合SpringCache和Redis 1
1. SpringBoot对应(自带)RedisClient是不同的 1
2. 实战 1
2.1. maven配置 1
2.2. yml配置 1
2.3. RedisConfig配置 1
2.4. RedisController 2
3. Spring缓存注解@Cacheable、@CacheEvict、@CachePut使用 3
3.1. @Cacheable 4
3.2. @CachePut 6
3.3. @CacheEvict 7
3.4. @Caching 8
3.5. 使用自定义注解 8
4. 使用Lettuce 操作redis单机版和redis集群 9