@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnBean(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnEnabledHealthIndicator(value="solr") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=SolrAutoConfiguration.class) public class SolrHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<SolrHealthIndicator,org.apache.solr.client.solrj.SolrClient>
Constructor and Description |
---|
SolrHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
solrHealthIndicator(Map<String,org.apache.solr.client.solrj.SolrClient> solrClients) |
createHealthIndicator, createHealthIndicator
public SolrHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="solrHealthIndicator") public HealthIndicator solrHealthIndicator(Map<String,org.apache.solr.client.solrj.SolrClient> solrClients)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.