@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnBean(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="redis") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value={RedisAutoConfiguration.class,RedisReactiveHealthIndicatorAutoConfiguration.class}) public class RedisHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<RedisHealthIndicator,org.springframework.data.redis.connection.RedisConnectionFactory>
Constructor and Description |
---|
RedisHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
redisHealthIndicator(Map<String,org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories) |
createHealthIndicator, createHealthIndicator
public RedisHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="redisHealthIndicator") public HealthIndicator redisHealthIndicator(Map<String,org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.