@Configuration @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(Map<String,com.couchbase.client.java.Cluster> clusters) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
couchbaseHealthIndicator() |
protected CouchbaseHealthIndicator |
createHealthIndicator(com.couchbase.client.java.Cluster cluster) |
createHealthIndicator
@Bean @ConditionalOnMissingBean(name="couchbaseHealthIndicator") public HealthIndicator couchbaseHealthIndicator()
protected CouchbaseHealthIndicator createHealthIndicator(com.couchbase.client.java.Cluster cluster)
createHealthIndicator
in class CompositeHealthIndicatorConfiguration<CouchbaseHealthIndicator,com.couchbase.client.java.Cluster>
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.