@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.couchbase.client.java.Bucket.class,com.couchbase.client.spring.cache.CouchbaseCacheManager.class}) @ConditionalOnMissingBean(value=org.springframework.cache.CacheManager.class) @ConditionalOnSingleCandidate(value=com.couchbase.client.java.Bucket.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 |
---|---|
com.couchbase.client.spring.cache.CouchbaseCacheManager |
cacheManager(CacheProperties cacheProperties,
CacheManagerCustomizers customizers,
com.couchbase.client.java.Bucket bucket) |
@Bean public com.couchbase.client.spring.cache.CouchbaseCacheManager cacheManager(CacheProperties cacheProperties, CacheManagerCustomizers customizers, com.couchbase.client.java.Bucket bucket)