Uses of Interface
org.springframework.data.redis.cache.RedisCacheWriter
Packages that use RedisCacheWriter
-
Uses of RedisCacheWriter in org.springframework.data.redis.cache
Methods in org.springframework.data.redis.cache that return RedisCacheWriterModifier and TypeMethodDescriptionprotected RedisCacheWriterRedisCache.getCacheWriter()RedisCache.getNativeCache()static RedisCacheWriterRedisCacheWriter.lockingRedisCacheWriter(RedisConnectionFactory connectionFactory) Create newRedisCacheWriterwith locking behavior.static RedisCacheWriterRedisCacheWriter.lockingRedisCacheWriter(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriterwith locking behavior.static RedisCacheWriterRedisCacheWriter.nonLockingRedisCacheWriter(RedisConnectionFactory connectionFactory) Create newRedisCacheWriterwithout locking behavior.static RedisCacheWriterRedisCacheWriter.nonLockingRedisCacheWriter(RedisConnectionFactory connectionFactory, BatchStrategy batchStrategy) Create newRedisCacheWriterwithout locking behavior.RedisCacheWriter.withStatisticsCollector(CacheStatisticsCollector cacheStatisticsCollector) Obtain aRedisCacheWriterusing the givenCacheStatisticsCollectorto collect metrics.Methods in org.springframework.data.redis.cache with parameters of type RedisCacheWriterModifier and TypeMethodDescriptionRedisCacheManager.builder(RedisCacheWriter cacheWriter) Factory method returning a Builder used to construct and configure aRedisCacheManagerusing the givenRedisCacheWriter.RedisCacheManager.RedisCacheManagerBuilder.cacheWriter(RedisCacheWriter cacheWriter) Configure aRedisCacheWriter.RedisCacheManager.RedisCacheManagerBuilder.fromCacheWriter(RedisCacheWriter cacheWriter) Factory method returning a new Builder used to create and configure aRedisCacheManagerusing the givenRedisCacheWriter.Constructors in org.springframework.data.redis.cache with parameters of type RedisCacheWriterModifierConstructorDescriptionprotectedRedisCache(String name, RedisCacheWriter cacheWriter, RedisCacheConfiguration cacheConfiguration) Create a newRedisCache.RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration) Creates a newRedisCacheManagerinitialized with the givenRedisCacheWriterand a defaultRedisCacheConfiguration.RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, boolean allowRuntimeCacheCreation, String... initialCacheNames) Creates a newRedisCacheManagerinitialized with the givenRedisCacheWriterand defaultRedisCacheConfiguration, and whether to allow cache creation at runtime.RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, boolean allowRuntimeCacheCreation, Map<String, RedisCacheConfiguration> initialCacheConfigurations) Creates a newRedisCacheManagerinitialized with the givenRedisCacheWriterand a defaultRedisCacheConfiguration, and whether to allowRedisCachecreation at runtime.RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, String... initialCacheNames) Creates a newRedisCacheManagerinitialized with the givenRedisCacheWriterand a defaultRedisCacheConfiguration, along with an optional, initial set ofcache namesused to createRedis cacheson startup.RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, Map<String, RedisCacheConfiguration> initialCacheConfigurations) RedisCacheManager(RedisCacheWriter cacheWriter, RedisCacheConfiguration defaultCacheConfiguration, Map<String, RedisCacheConfiguration> initialCacheConfigurations, boolean allowRuntimeCacheCreation) Deprecated.
RedisCacheManager(RedisCacheWriter, RedisCacheConfiguration, boolean, Map)instead.