Class DataRedisReactiveHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration<DataRedisReactiveHealthIndicator, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory>
org.springframework.boot.data.redis.autoconfigure.health.DataRedisReactiveHealthContributorAutoConfiguration
@AutoConfiguration(after=DataRedisReactiveAutoConfiguration.class)
@ConditionalOnClass({org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class,reactor.core.publisher.Flux.class,ReactiveHealthIndicator.class,ConditionalOnEnabledHealthIndicator.class})
@ConditionalOnBean(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class)
@ConditionalOnEnabledHealthIndicator("redis")
public final class DataRedisReactiveHealthContributorAutoConfiguration
extends CompositeReactiveHealthContributorConfiguration<DataRedisReactiveHealthIndicator, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory>
- Since:
- 4.0.0
- Author:
- Christian Dupuis, Richard Santana, Stephane Nicoll, Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionprotected final ReactiveHealthContributorcreateContributor(Map<String, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory> beans) protected final ReactiveHealthContributorcreateContributor(ConfigurableListableBeanFactory beanFactory, Class<org.springframework.data.redis.connection.ReactiveRedisConnectionFactory> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.protected DataRedisReactiveHealthIndicatorcreateIndicator(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory bean) Methods inherited from class CompositeReactiveHealthContributorConfiguration
createComposite
-
Method Details
-
createContributor
protected final ReactiveHealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<org.springframework.data.redis.connection.ReactiveRedisConnectionFactory> beanType) Creates a composite contributor from the beans of the givenbeanTyperetrieved from the givenbeanFactory.- Parameters:
beanFactory- the bean factory from which the beans are retrievedbeanType- the type of the beans that are retrieved- Returns:
- the contributor
-
createContributor
protected final ReactiveHealthContributor createContributor(Map<String, org.springframework.data.redis.connection.ReactiveRedisConnectionFactory> beans) -
createIndicator
protected DataRedisReactiveHealthIndicator createIndicator(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory bean)
-