[Opensymphony-oscache] Working with oscache
dres <[email protected]> Fri, 27 May 2005 18:28:44 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <3032864.1117236554224.JavaMail.os-j2ee@opensymphony01.contegix.com> |
what trigger are you using to determine when to flush? Is the cache filter refresh policy not sufficient? Usually cache entries will be left in the cache even when they are stale. Upon the next get() for that key, you can pass a refresh period or policy which will determine if it needs to be flushed. Without knowing more about your application, I would say iterating over files is probably a bad idea. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=2634&messageID=7409#7409