@Configuration @ConditionalOnClass(value={org.springframework.data.couchbase.core.CouchbaseOperations.class,com.couchbase.client.java.Bucket.class}) @ConditionalOnBean(value=org.springframework.data.couchbase.core.CouchbaseOperations.class) @ConditionalOnEnabledHealthIndicator(value="couchbase") public static class HealthIndicatorAutoConfiguration.CouchbaseHealthIndicatorConfiguration extends CompositeHealthIndicatorConfiguration<CouchbaseHealthIndicator,org.springframework.data.couchbase.core.CouchbaseOperations>
Constructor and Description |
---|
CouchbaseHealthIndicatorConfiguration(Map<String,org.springframework.data.couchbase.core.CouchbaseOperations> couchbaseOperations) |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
couchbaseHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="couchbaseHealthIndicator") public HealthIndicator couchbaseHealthIndicator()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.