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.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
-
Constructor Summary
-
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
-
Constructor Details
-
RedisHealthContributorAutoConfiguration
public RedisHealthContributorAutoConfiguration()
-
-
Method Details
-
redisHealthContributor
@Bean @ConditionalOnMissingBean(name={"redisHealthIndicator","redisHealthContributor"}) public HealthContributor redisHealthContributor(Map<String, org.springframework.data.redis.connection.RedisConnectionFactory> redisConnectionFactories)
-