Hi Eric,
I know that refreshing a cache automatically is not supported (http://
groups.google.com/group/ehcache-spring-annotations/browse_thread/
thread/3205c6b90747c2fe/545c07c4db7a2cee?lnk=raot#545c07c4db7a2cee).
I was wondering what you would have thought the best method of doing
this would be? I am using spring annotations and I want a cache to
automatically refresh when it hits then end of a given period. I'm
sure that there must be a simpler way than using dynamic threading &
timers!
Also, just to chip in on the above thread, I would assume that the
refresh mechanism should have its own parameter. So if I set
refreshtime=600 it will refresh every ten minutes, resetting the TTL.
(This prevents there being no data in the cache). Alternatively just
refresh when it hits the TTL (I prefer the first option).
Thanks
F.