第277天学习打卡(知识点回顾, springboot redis自动配置)
springboot redis自动配置
自动配置
-
RedisAutoConfiguration自动配置类。RedisProperties属性类--- 》spring.redis.xxx是对redis的配置
-
连接工厂是准备好的。LettuceConnectionConfiguration,JedisConnectionConfiguration
-
自动注入了RedisTemplate<Object, Object>: xxxTemplate;
-
自动注入了StringRedisTemplate; k : v都是String
-
key : value
-