@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.couchbase.client.java.Cluster.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") @AutoConfigureAfter(value=CouchbaseAutoConfiguration.class) public class CouchbaseReactiveHealthContributorAutoConfiguration extends CompositeReactiveHealthContributorConfiguration<CouchbaseReactiveHealthIndicator,com.couchbase.client.java.Cluster>
Constructor and Description |
---|
CouchbaseReactiveHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthContributor |
couchbaseHealthContributor(Map<String,com.couchbase.client.java.Cluster> clusters) |
createComposite
createContributor, createIndicator
public CouchbaseReactiveHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"couchbaseHealthIndicator","couchbaseHealthContributor"}) public ReactiveHealthContributor couchbaseHealthContributor(Map<String,com.couchbase.client.java.Cluster> clusters)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.