@Configuration @ConditionalOnClass(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnBean(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnEnabledHealthIndicator(value="solr") public static class HealthIndicatorAutoConfiguration.SolrHealthIndicatorConfiguration extends CompositeHealthIndicatorConfiguration<SolrHealthIndicator,org.apache.solr.client.solrj.SolrClient>
Constructor and Description |
---|
SolrHealthIndicatorConfiguration(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.