@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.elasticsearch.client.Client.class) @ConditionalOnBean(value=org.elasticsearch.client.Client.class) @ConditionalOnEnabledHealthIndicator(value="elasticsearch") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=ElasticsearchAutoConfiguration.class) @EnableConfigurationProperties(value=ElasticsearchHealthIndicatorProperties.class) @Deprecated public class ElasticSearchClientHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<ElasticsearchHealthIndicator,org.elasticsearch.client.Client>
Constructor and Description |
---|
ElasticSearchClientHealthIndicatorAutoConfiguration(ElasticsearchHealthIndicatorProperties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ElasticsearchHealthIndicator |
createHealthIndicator(org.elasticsearch.client.Client client)
Deprecated.
|
HealthIndicator |
elasticsearchHealthIndicator(Map<String,org.elasticsearch.client.Client> clients)
Deprecated.
|
createHealthIndicator
public ElasticSearchClientHealthIndicatorAutoConfiguration(ElasticsearchHealthIndicatorProperties properties)
@Bean @ConditionalOnMissingBean(name="elasticsearchHealthIndicator") public HealthIndicator elasticsearchHealthIndicator(Map<String,org.elasticsearch.client.Client> clients)
protected ElasticsearchHealthIndicator createHealthIndicator(org.elasticsearch.client.Client client)
createHealthIndicator
in class CompositeHealthIndicatorConfiguration<ElasticsearchHealthIndicator,org.elasticsearch.client.Client>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.