It seems that using the Spring Data Redis support for Spring's Cache Abstraction means that you can't set TTLs. Are there any plans for this (JIRA)? I checked quickly but didn't see anything.
It seems that using the Spring Data Redis support for Spring's Cache Abstraction means that you can't set TTLs. Are there any plans for this (JIRA)? I checked quickly but didn't see anything.
Actually RedisCacheManager has a default TTL that one can set. For fine grained TTL, one could plug in their own strategies or set the TTL manually for each key...
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Which version of spring-data-redis is that in? I didn't see it in 1.0.1.RELEASE, which I thought was the latest but now see 1.0.2.RELEASE. We ended up re-implementing the RedisCacheManager to allow a default and custom ones.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags