@Configuration @ConditionalOnClass(value={com.couchbase.client.java.Cluster.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=CouchbaseAutoConfiguration.class) public class CouchbaseReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<CouchbaseReactiveHealthIndicator,com.couchbase.client.java.Cluster>
Constructor and Description |
---|
CouchbaseReactiveHealthIndicatorAutoConfiguration(Map<String,com.couchbase.client.java.Cluster> clusters) |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
couchbaseReactiveHealthIndicator() |
protected CouchbaseReactiveHealthIndicator |
createHealthIndicator(com.couchbase.client.java.Cluster cluster) |
createHealthIndicator
@Bean @ConditionalOnMissingBean(name="couchbaseReactiveHealthIndicator") public ReactiveHealthIndicator couchbaseReactiveHealthIndicator()
protected CouchbaseReactiveHealthIndicator createHealthIndicator(com.couchbase.client.java.Cluster cluster)
createHealthIndicator
in class CompositeReactiveHealthIndicatorConfiguration<CouchbaseReactiveHealthIndicator,com.couchbase.client.java.Cluster>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.