Class CouchbaseHealthContributorAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.health.AbstractCompositeHealthContributorConfiguration<HealthContributor,I,B>
org.springframework.boot.actuate.autoconfigure.health.CompositeHealthContributorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
org.springframework.boot.actuate.autoconfigure.couchbase.CouchbaseHealthContributorAutoConfiguration
@AutoConfiguration(after={CouchbaseAutoConfiguration.class,CouchbaseReactiveHealthContributorAutoConfiguration.class})
@ConditionalOnClass(com.couchbase.client.java.Cluster.class)
@ConditionalOnBean(com.couchbase.client.java.Cluster.class)
@ConditionalOnEnabledHealthIndicator("couchbase")
public class CouchbaseHealthContributorAutoConfiguration
extends CompositeHealthContributorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
- Since:
- 2.0.0
- Author:
- EddĂș MelĂ©ndez, Stephane Nicoll, Andy Wilkinson Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncouchbaseHealthContributor
(Map<String, com.couchbase.client.java.Cluster> clusters) 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
-
CouchbaseHealthContributorAutoConfiguration
public CouchbaseHealthContributorAutoConfiguration()
-
-
Method Details
-
couchbaseHealthContributor
@Bean @ConditionalOnMissingBean(name={"couchbaseHealthIndicator","couchbaseHealthContributor"}) public HealthContributor couchbaseHealthContributor(Map<String, com.couchbase.client.java.Cluster> clusters)
-