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 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 given beanType retrieved from the given beanFactory.
      Parameters:
      beanFactory - the bean factory from which the beans are retrieved
      beanType - 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)