@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.couchbase.client.java.Cluster.class) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") @AutoConfigureAfter(value={CouchbaseAutoConfiguration.class,CouchbaseReactiveHealthContributorAutoConfiguration.class}) 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)