@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") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=CouchbaseAutoConfiguration.class) public class CouchbaseReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<CouchbaseReactiveHealthIndicator,com.couchbase.client.java.Cluster>
Constructor and Description |
---|
CouchbaseReactiveHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
couchbaseReactiveHealthIndicator(Map<String,com.couchbase.client.java.Cluster> clusters) |
protected CouchbaseReactiveHealthIndicator |
createHealthIndicator(com.couchbase.client.java.Cluster cluster) |
createHealthIndicator
public CouchbaseReactiveHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="couchbaseReactiveHealthIndicator") public ReactiveHealthIndicator couchbaseReactiveHealthIndicator(Map<String,com.couchbase.client.java.Cluster> clusters)
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.