@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.elasticsearch.client.Client.class) @ConditionalOnBean(value=org.elasticsearch.client.Client.class) @ConditionalOnEnabledHealthIndicator(value="elasticsearch") @AutoConfigureAfter(value=ElasticsearchAutoConfiguration.class) @EnableConfigurationProperties(value=ElasticsearchHealthIndicatorProperties.class) @Deprecated public class ElasticSearchClientHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<ElasticsearchHealthIndicator,org.elasticsearch.client.Client>
Constructor and Description |
---|
ElasticSearchClientHealthContributorAutoConfiguration(ElasticsearchHealthIndicatorProperties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ElasticsearchHealthIndicator |
createIndicator(org.elasticsearch.client.Client client)
Deprecated.
|
HealthContributor |
elasticsearchHealthContributor(Map<String,org.elasticsearch.client.Client> clients)
Deprecated.
|
createComposite
createContributor
public ElasticSearchClientHealthContributorAutoConfiguration(ElasticsearchHealthIndicatorProperties properties)
@Bean @ConditionalOnMissingBean(name={"elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public HealthContributor elasticsearchHealthContributor(Map<String,org.elasticsearch.client.Client> clients)
protected ElasticsearchHealthIndicator createIndicator(org.elasticsearch.client.Client client)
createIndicator
in class AbstractCompositeHealthContributorConfiguration<HealthContributor,ElasticsearchHealthIndicator,org.elasticsearch.client.Client>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.