@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=io.searchbox.client.JestClient.class) @ConditionalOnBean(value=io.searchbox.client.JestClient.class) @ConditionalOnEnabledHealthIndicator(value="elasticsearch") @AutoConfigureAfter(value={JestAutoConfiguration.class,ElasticSearchClientHealthContributorAutoConfiguration.class}) @Deprecated public class ElasticSearchJestHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<ElasticsearchJestHealthIndicator,io.searchbox.client.JestClient>
Constructor and Description |
---|
ElasticSearchJestHealthContributorAutoConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HealthContributor |
elasticsearchHealthContributor(Map<String,io.searchbox.client.JestClient> clients)
Deprecated.
|
createComposite
createContributor, createIndicator
public ElasticSearchJestHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"elasticsearchHealthIndicator","elasticsearchHealthContributor"}) public HealthContributor elasticsearchHealthContributor(Map<String,io.searchbox.client.JestClient> clients)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.