@AutoConfiguration(after={CouchbaseAutoConfiguration.class,CouchbaseReactiveHealthContributorAutoConfiguration.class}) @ConditionalOnClass(value=com.couchbase.client.java.Cluster.class) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") public class CouchbaseHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
Constructor and Description |
---|
CouchbaseHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
couchbaseHealthContributor(Map<String,com.couchbase.client.java.Cluster> clusters) |
createComposite
createContributor, createIndicator
public CouchbaseHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"couchbaseHealthIndicator","couchbaseHealthContributor"}) public HealthContributor couchbaseHealthContributor(Map<String,com.couchbase.client.java.Cluster> clusters)