Class SolrHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<SolrHealthIndicator,org.apache.solr.client.solrj.SolrClient>
org.springframework.boot.actuate.autoconfigure.solr.SolrHealthContributorAutoConfiguration
@AutoConfiguration(after=SolrAutoConfiguration.class)
@ConditionalOnClass(org.apache.solr.client.solrj.SolrClient.class)
@ConditionalOnBean(org.apache.solr.client.solrj.SolrClient.class)
@ConditionalOnEnabledHealthIndicator("solr")
public class SolrHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<SolrHealthIndicator,org.apache.solr.client.solrj.SolrClient>
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsolrHealthContributor
(Map<String, org.apache.solr.client.solrj.SolrClient> solrClients) Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration
createComposite
Methods inherited from class org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration
createContributor, createIndicator
-
Constructor Details
-
SolrHealthContributorAutoConfiguration
public SolrHealthContributorAutoConfiguration()
-
-
Method Details
-
solrHealthContributor
@Bean @ConditionalOnMissingBean(name={"solrHealthIndicator","solrHealthContributor"}) public HealthContributor solrHealthContributor(Map<String, org.apache.solr.client.solrj.SolrClient> solrClients)
-