Class ElasticSearchRestHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<ElasticsearchRestClientHealthIndicator,org.elasticsearch.client.RestClient>
org.springframework.boot.actuate.autoconfigure.elasticsearch.ElasticSearchRestHealthContributorAutoConfiguration
@AutoConfiguration(after=ElasticsearchRestClientAutoConfiguration.class)
@ConditionalOnClass(org.elasticsearch.client.RestClient.class)
@ConditionalOnBean(org.elasticsearch.client.RestClient.class)
@ConditionalOnEnabledHealthIndicator("elasticsearch")
public class ElasticSearchRestHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<ElasticsearchRestClientHealthIndicator,org.elasticsearch.client.RestClient>
- Since:
- 2.1.1
- Author:
- Artsiom Yudovin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionelasticsearchHealthContributor
(Map<String, org.elasticsearch.client.RestClient> clients) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
ElasticSearchRestHealthContributorAutoConfiguration
public ElasticSearchRestHealthContributorAutoConfiguration()
-
-
Method Details
-
elasticsearchHealthContributor
@Bean @ConditionalOnMissingBean(name={"elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public HealthContributor elasticsearchHealthContributor(Map<String, org.elasticsearch.client.RestClient> clients)
-