@Configuration
public class RedisConfig
extends Object
redis配置
-
-
方法概要
org.springframework.data.redis.core.RedisTemplate<String,Object>
redisTemplate(org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory factory)
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
RedisConfig
public RedisConfig()
-
方法详细资料
-
redisTemplate
@Bean(name="objRedisTemplate")
public org.springframework.data.redis.core.RedisTemplate<String,Object> redisTemplate(org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory factory)