Uses of Interface
org.springframework.data.redis.cache.RedisCacheWriter.TtlFunction
Packages that use RedisCacheWriter.TtlFunction
-
Uses of RedisCacheWriter.TtlFunction in org.springframework.data.redis.cache
Classes in org.springframework.data.redis.cache that implement RedisCacheWriter.TtlFunctionModifier and TypeClassDescriptionfinal recordRedisCacheWriter.TtlFunctionimplementation returning the given, predeterminedDurationused for per cache entry time-to-live (TTL) expiration.Methods in org.springframework.data.redis.cache that return RedisCacheWriter.TtlFunctionModifier and TypeMethodDescriptionRedisCacheConfiguration.getTtlFunction()Gets theRedisCacheWriter.TtlFunctionused to compute a cache key time-to-live (TTL) expiration.static RedisCacheWriter.TtlFunctionCreates a SingletonRedisCacheWriter.TtlFunctionusing the givenDuration.static RedisCacheWriter.TtlFunctionRedisCacheWriter.TtlFunction.persistent()Returns aRedisCacheWriter.TtlFunctionto create persistent entires that do not expire.Methods in org.springframework.data.redis.cache with parameters of type RedisCacheWriter.TtlFunctionModifier and TypeMethodDescriptionRedisCacheConfiguration.entryTtl(RedisCacheWriter.TtlFunction ttlFunction) Set theTTL functionto compute the time to live for cache entries.static RedisCacheWriterRedisCacheWriter.lockingRedisCacheWriter(RedisConnectionFactory connectionFactory, Duration sleepTime, RedisCacheWriter.TtlFunction lockTtlFunction, BatchStrategy batchStrategy) Create newRedisCacheWriterwith locking behavior.