Package com.netflix.spinnaker.kork.jedis
Class JedisClientConfiguration
- java.lang.Object
-
- com.netflix.spinnaker.kork.jedis.JedisClientConfiguration
-
@Configuration @Import(RedisClientConfiguration.class) public class JedisClientConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JedisClientConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JedisClientDelegateFactoryjedisClientDelegateFactory(com.netflix.spectator.api.Registry registry, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.apache.commons.pool2.impl.GenericObjectPoolConfig redisPoolConfig)java.util.List<org.springframework.boot.actuate.health.HealthIndicator>jedisClientHealthIndicators(java.util.List<RedisClientDelegate> redisClientDelegates)org.apache.commons.pool2.impl.GenericObjectPoolConfigredisPoolConfig()Backwards compatibility with pre-kork redis config.
-
-
-
Method Detail
-
redisPoolConfig
@Bean @ConditionalOnMissingBean(org.apache.commons.pool2.impl.GenericObjectPoolConfig.class) @ConfigurationProperties("redis") public org.apache.commons.pool2.impl.GenericObjectPoolConfig redisPoolConfig()Backwards compatibility with pre-kork redis config.Services can override this pool config to provide their own default pool config. Individual clients can also override their own pool config.
-
jedisClientDelegateFactory
@Bean @ConditionalOnProperty(value="redis.cluster-enabled", havingValue="false", matchIfMissing=true) public JedisClientDelegateFactory jedisClientDelegateFactory(com.netflix.spectator.api.Registry registry, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.apache.commons.pool2.impl.GenericObjectPoolConfig redisPoolConfig)
-
jedisClientHealthIndicators
@Bean @ConditionalOnProperty(value="redis.cluster-enabled", havingValue="false", matchIfMissing=true) public java.util.List<org.springframework.boot.actuate.health.HealthIndicator> jedisClientHealthIndicators(java.util.List<RedisClientDelegate> redisClientDelegates)
-
-