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.reactive.ReactiveElasticsearchClient>
org.springframework.boot.actuate.autoconfigure.elasticsearch.ElasticSearchReactiveHealthContributorAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass({org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient.class,reactor.core.publisher.Flux.class})
@ConditionalOnBean(org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient.class)
@ConditionalOnEnabledHealthIndicator("elasticsearch")
@AutoConfigureAfter(ReactiveElasticsearchRestClientAutoConfiguration.class)
public class ElasticSearchReactiveHealthContributorAutoConfiguration
extends CompositeReactiveHealthContributorConfiguration<ElasticsearchReactiveHealthIndicator,org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient>
- Since:
- 2.3.2
- Author:
- Aleksander Lech
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionelasticsearchHealthContributor
(Map<String, org.springframework.data.elasticsearch.client.reactive.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.reactive.ReactiveElasticsearchClient> clients)
-