Class ElasticSearchRestHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<ElasticsearchRestHealthIndicator,org.elasticsearch.client.RestHighLevelClient>
org.springframework.boot.actuate.autoconfigure.elasticsearch.ElasticSearchRestHealthContributorAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.elasticsearch.client.RestHighLevelClient.class)
@ConditionalOnBean(org.elasticsearch.client.RestHighLevelClient.class)
@ConditionalOnEnabledHealthIndicator("elasticsearch")
@AutoConfigureAfter(ElasticsearchRestClientAutoConfiguration.class)
public class ElasticSearchRestHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<ElasticsearchRestHealthIndicator,org.elasticsearch.client.RestHighLevelClient>
- Since:
- 2.1.1
- Author:
- Artsiom Yudovin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionelasticsearchHealthContributor
(Map<String, org.elasticsearch.client.RestHighLevelClient> 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.RestHighLevelClient> clients)
-