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