@Configuration @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(Map<String,org.apache.solr.client.solrj.SolrClient> solrClients) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
solrHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="solrHealthIndicator") public HealthIndicator solrHealthIndicator()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.