Class DataElasticsearchReactiveHealthContributorAutoConfiguration

java.lang.Object
org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration<DataElasticsearchReactiveHealthIndicator, org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient>
org.springframework.boot.data.elasticsearch.autoconfigure.health.DataElasticsearchReactiveHealthContributorAutoConfiguration

@AutoConfiguration(after=DataElasticsearchAutoConfiguration.class) @ConditionalOnClass({org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient.class,reactor.core.publisher.Flux.class,DataElasticsearchReactiveHealthIndicator.class,ConditionalOnEnabledHealthIndicator.class}) @ConditionalOnBean(org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient.class) @ConditionalOnEnabledHealthIndicator("elasticsearch") public final class DataElasticsearchReactiveHealthContributorAutoConfiguration extends CompositeReactiveHealthContributorConfiguration<DataElasticsearchReactiveHealthIndicator, org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient>
Auto-configuration for DataElasticsearchReactiveHealthIndicator using the ReactiveElasticsearchClient.
Since:
4.0.0
Author:
Aleksander Lech
  • Method Details

    • createContributor

      protected final ReactiveHealthContributor createContributor(ConfigurableListableBeanFactory beanFactory, Class<org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient> 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.elasticsearch.client.elc.ReactiveElasticsearchClient> beans)
    • createIndicator

      protected DataElasticsearchReactiveHealthIndicator createIndicator(org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient bean)