[Opensymphony-oscache] OsCache Refresh
Chris Miller <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <8023418.1113502646811.JavaMail.os-j2ee@opensymphony01.contegix.com> |
OSCache doesn't have a background thread performing evictions or refreshing entries, if that's what you're after? If however you just want entries to expire say every half hour on the half hour regardless of when an entry is retrieved from or added to the cache, then as Andres pointed out the cron functionality should be exactly what you need. > I am using using the APIs to cache some object in my > program. The object in cache needs to be refreshed > every 30 mins. Currently, when user queries & data is > stale, a refresh takes place. But, I need something > like an "automatic refresh" every 30 mins - is it > possible? --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=1575&messageID=4843#4843