Package com.trendyol.jdempotent.redis
Class RedisSentinelConfiguration
java.lang.Object
com.trendyol.jdempotent.redis.RedisSentinelConfiguration
@Configuration @ConditionalOnProperty(value="jdempotent.enable", havingValue="true", matchIfMissing=true) public class RedisSentinelConfiguration extends Object
-
Constructor Summary
Constructors Constructor Description RedisSentinelConfiguration(RedisConfigProperties redisProperties)
-
Method Summary
Modifier and Type Method Description org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory
lettuceConnectionFactory()
org.springframework.data.redis.core.RedisTemplate<String,com.trendyol.jdempotent.core.model.IdempotentResponseWrapper>
redisTemplate()
-
Constructor Details
-
Method Details
-
lettuceConnectionFactory
@Bean public org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory lettuceConnectionFactory() -
redisTemplate
@Bean public org.springframework.data.redis.core.RedisTemplate<String,com.trendyol.jdempotent.core.model.IdempotentResponseWrapper> redisTemplate()
-