@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnBean(value=org.springframework.data.redis.connection.RedisConnectionFactory.class) @ConditionalOnEnabledHealthIndicator(value="redis") @AutoConfigureAfter(value={RedisAutoConfiguration.class,RedisReactiveHealthContributorAutoConfiguration.class}) public class RedisHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<RedisHealthIndicator,org.springframework.data.redis.connection.RedisConnectionFactory>
Constructor and Description |
---|
RedisHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
redisHealthContributor(Map<String,org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories) |
createComposite
createContributor, createIndicator
public RedisHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"redisHealthIndicator","redisHealthContributor"}) public HealthContributor redisHealthContributor(Map<String,org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories)