Package com.arms.config
Class RedisConfig
- java.lang.Object
-
- com.arms.config.RedisConfig
-
@Configuration @EnableWebFlux @EnableRedisRepositories @EnableRedisWebSession(maxInactiveIntervalInSeconds=7200) public class RedisConfig extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RedisConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.data.redis.core.ReactiveRedisTemplate<java.lang.String,java.lang.Object>
reactiveRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory factory)
org.springframework.data.redis.core.RedisTemplate<java.lang.String,java.lang.Object>
redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory factory)
-
-
-
Method Detail
-
redisTemplate
@Bean public org.springframework.data.redis.core.RedisTemplate<java.lang.String,java.lang.Object> redisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory factory)
-
reactiveRedisTemplate
@Bean public org.springframework.data.redis.core.ReactiveRedisTemplate<java.lang.String,java.lang.Object> reactiveRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory factory)
-
-