@AutoConfiguration(after=CouchbaseAutoConfiguration.class) @ConditionalOnClass(value={com.couchbase.client.java.Cluster.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") 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)