@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) 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={"couchbaseHealthContributor","couchbaseHealthContributor"}) public HealthContributor couchbaseHealthContributor(Map<String,com.couchbase.client.java.Cluster> clusters)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.