@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnBean(value=org.apache.solr.client.solrj.SolrClient.class) @ConditionalOnEnabledHealthIndicator(value="solr") @AutoConfigureAfter(value=SolrAutoConfiguration.class) public class SolrHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<SolrHealthIndicator,org.apache.solr.client.solrj.SolrClient>
Constructor and Description |
---|
SolrHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
solrHealthContributor(Map<String,org.apache.solr.client.solrj.SolrClient> solrClients) |
createComposite
createContributor, createIndicator
public SolrHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"solrHealthIndicator","solrHealthContributor"}) public HealthContributor solrHealthContributor(Map<String,org.apache.solr.client.solrj.SolrClient> solrClients)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.