Class RedisHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<RedisHealthIndicator,org.springframework.data.redis.connection.RedisConnectionFactory>
org.springframework.boot.actuate.autoconfigure.data.redis.RedisHealthContributorAutoConfiguration
@AutoConfiguration(after={RedisAutoConfiguration.class,RedisReactiveHealthContributorAutoConfiguration.class})
@ConditionalOnClass(org.springframework.data.redis.connection.RedisConnectionFactory.class)
@ConditionalOnBean(org.springframework.data.redis.connection.RedisConnectionFactory.class)
@ConditionalOnEnabledHealthIndicator("redis")
public class RedisHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<RedisHealthIndicator,org.springframework.data.redis.connection.RedisConnectionFactory>
- Since:
- 2.1.0
- Author:
- Christian Dupuis, Richard Santana, Stephane Nicoll, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionredisHealthContributor
(Map<String, org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Method Details
-
redisHealthContributor
@Bean @ConditionalOnMissingBean(name={"redisHealthIndicator","redisHealthContributor"}) public HealthContributor redisHealthContributor(Map<String, org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories)
-