@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=com.couchbase.client.java.Cluster.class) @ConditionalOnBean(value=com.couchbase.client.java.Cluster.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=CouchbaseAutoConfiguration.class) public class CouchbaseHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
Constructor and Description |
---|
CouchbaseHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
couchbaseHealthIndicator(Map<String,com.couchbase.client.java.Cluster> clusters) |
protected CouchbaseHealthIndicator |
createHealthIndicator(com.couchbase.client.java.Cluster cluster) |
createHealthIndicator
public CouchbaseHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="couchbaseHealthIndicator") public HealthIndicator couchbaseHealthIndicator(Map<String,com.couchbase.client.java.Cluster> clusters)
protected CouchbaseHealthIndicator createHealthIndicator(com.couchbase.client.java.Cluster cluster)
createHealthIndicator
in class CompositeHealthIndicatorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.