Class ElasticsearchReactiveHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<ReactiveHealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration<ElasticsearchReactiveHealthIndicator,org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient>
org.springframework.boot.actuate.autoconfigure.data.elasticsearch.ElasticsearchReactiveHealthContributorAutoConfiguration
@AutoConfiguration(after=ReactiveElasticsearchClientAutoConfiguration.class)
@ConditionalOnClass({org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient.class,reactor.core.publisher.Flux.class})
@ConditionalOnBean(org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient.class)
@ConditionalOnEnabledHealthIndicator("elasticsearch")
public class ElasticsearchReactiveHealthContributorAutoConfiguration
extends CompositeReactiveHealthContributorConfiguration<ElasticsearchReactiveHealthIndicator,org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient>
- Since:
- 2.3.2
- Author:
- Aleksander Lech
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionelasticsearchHealthContributor
(Map<String, org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient> clients) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeReactiveHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
ElasticsearchReactiveHealthContributorAutoConfiguration
public ElasticsearchReactiveHealthContributorAutoConfiguration()
-
-
Method Details
-
elasticsearchHealthContributor
@Bean @ConditionalOnMissingBean(name={"elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public ReactiveHealthContributor elasticsearchHealthContributor(Map<String, org.springframework.data.elasticsearch.client.elc.ReactiveElasticsearchClient> clients)
-