skip to Main Content

Spring data redis key expiration

In spring data redis we have two variables. RedisTemplate<Key, Value> redisTemplate; HashOperations<Key, HashKey, HashValue> hashOperations; There is a method expireAt(String key, Date date) inside RedisTemplate. So if I want to set an expiry for a particular hash key I can…

VIEW QUESTION
Back To Top
Search