Uses of Class
org.springframework.data.couchbase.cache.CouchbaseCacheConfiguration
Packages that use CouchbaseCacheConfiguration
-
Uses of CouchbaseCacheConfiguration in org.springframework.data.couchbase.cache
Methods in org.springframework.data.couchbase.cache that return CouchbaseCacheConfigurationModifier and TypeMethodDescriptionCouchbaseCacheConfiguration.collection(String collectionName) Set the collectinName to use.CouchbaseCacheConfiguration.computePrefixWith(CacheKeyPrefix cacheKeyPrefix) Use the givenCacheKeyPrefixto compute the prefix for the actual Couchbase key given the cache name as function input.static CouchbaseCacheConfigurationCouchbaseCacheConfiguration.defaultCacheConfig()CouchbaseCacheConfiguration.disableCachingNullValues()Disable caching null values.CouchbaseCacheConfiguration.entryExpiry(Duration expiry) Set the expiry to apply for cache entries.CouchbaseCache.getCacheConfiguration()Returns the configuration for thisCouchbaseCache.CouchbaseCacheConfiguration.prefixCacheNameWith(String prefix) Prefix thecache namewith the given value.CouchbaseCacheConfiguration.valueTranscoder(com.couchbase.client.java.codec.Transcoder valueTranscoder) Sets a custom transcoder to use for reads and writes.Methods in org.springframework.data.couchbase.cache that return types with arguments of type CouchbaseCacheConfigurationModifier and TypeMethodDescriptionCouchbaseCacheManager.CouchbaseCacheManagerBuilder.getCacheConfigurationFor(String cacheName) Get theCouchbaseCacheConfigurationfor a given cache by its name.Methods in org.springframework.data.couchbase.cache with parameters of type CouchbaseCacheConfigurationModifier and TypeMethodDescriptionCouchbaseCacheManager.CouchbaseCacheManagerBuilder.cacheDefaults(CouchbaseCacheConfiguration defaultCacheConfiguration) Define a defaultCouchbaseCacheConfigurationapplied to dynamically createdCouchbaseCaches.protected CouchbaseCacheCouchbaseCacheManager.createCouchbaseCache(String name, @Nullable CouchbaseCacheConfiguration cacheConfig) Configuration hook for creatingCouchbaseCachewith given name andcacheConfig.CouchbaseCacheManager.CouchbaseCacheManagerBuilder.withCacheConfiguration(String cacheName, CouchbaseCacheConfiguration cacheConfiguration) Method parameters in org.springframework.data.couchbase.cache with type arguments of type CouchbaseCacheConfigurationModifier and TypeMethodDescriptionCouchbaseCacheManager.CouchbaseCacheManagerBuilder.withInitialCacheConfigurations(Map<String, CouchbaseCacheConfiguration> cacheConfigurations) Append aMapof cache name/CouchbaseCacheConfigurationpairs to be pre initialized.Constructors in org.springframework.data.couchbase.cache with parameters of type CouchbaseCacheConfigurationModifierConstructorDescriptionprotectedCouchbaseCache(String name, CouchbaseCacheWriter cacheWriter, CouchbaseCacheConfiguration cacheConfig)