@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=io.searchbox.client.JestClient.class) @ConditionalOnBean(value=io.searchbox.client.JestClient.class) @ConditionalOnEnabledHealthIndicator(value="elasticsearch") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value={JestAutoConfiguration.class,ElasticSearchClientHealthIndicatorAutoConfiguration.class}) @Deprecated public class ElasticSearchJestHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<ElasticsearchJestHealthIndicator,io.searchbox.client.JestClient>
Constructor and Description |
---|
ElasticSearchJestHealthIndicatorAutoConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ElasticsearchJestHealthIndicator |
createHealthIndicator(io.searchbox.client.JestClient client)
Deprecated.
|
HealthIndicator |
elasticsearchHealthIndicator(Map<String,io.searchbox.client.JestClient> clients)
Deprecated.
|
createHealthIndicator
public ElasticSearchJestHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="elasticsearchHealthIndicator") public HealthIndicator elasticsearchHealthIndicator(Map<String,io.searchbox.client.JestClient> clients)
protected ElasticsearchJestHealthIndicator createHealthIndicator(io.searchbox.client.JestClient client)
createHealthIndicator
in class CompositeHealthIndicatorConfiguration<ElasticsearchJestHealthIndicator,io.searchbox.client.JestClient>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.