@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.couchbase.client.java.Cluster.class,org.springframework.data.couchbase.CouchbaseClientFactory.class,org.springframework.data.couchbase.cache.CouchbaseCacheManager.class}) @ConditionalOnMissingBean(value=org.springframework.cache.CacheManager.class) @ConditionalOnSingleCandidate(value=org.springframework.data.couchbase.CouchbaseClientFactory.class) @Conditional(value=org.springframework.boot.autoconfigure.cache.CacheCondition.class) public class CouchbaseCacheConfiguration extends Object
Constructor and Description |
---|
CouchbaseCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.couchbase.cache.CouchbaseCacheManager |
cacheManager(CacheProperties cacheProperties,
CacheManagerCustomizers customizers,
org.springframework.data.couchbase.CouchbaseClientFactory clientFactory) |
@Bean public org.springframework.data.couchbase.cache.CouchbaseCacheManager cacheManager(CacheProperties cacheProperties, CacheManagerCustomizers customizers, org.springframework.data.couchbase.CouchbaseClientFactory clientFactory)