@Configuration @ConditionalOnClass(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnBean(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnEnabledHealthIndicator(value="solr") 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 © 2017 Pivotal Software, Inc.. All rights reserved.