@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") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=CouchbaseDataAutoConfiguration.class) public class CouchbaseHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<CouchbaseHealthIndicator,org.springframework.data.couchbase.core.CouchbaseOperations>
Constructor and Description |
---|
CouchbaseHealthIndicatorAutoConfiguration(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 © 2018 Pivotal Software, Inc.. All rights reserved.