[Opensymphony-oscache] CacheEntry::needsRefresh
dres <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <21731436.1112734555695.JavaMail.os-j2ee@opensymphony01.contegix.com> |
I see the problem now and it is not really a problem. Although you do have to change the ExpiresRefreshPolicy set in the entries to be constructed during the init() of the filter. There is no restriction on the EntryRefreshPolicy interface except that one method. I suggest adding a new constructor ExpiresRefreshPolicy(int refreshSeconds); so that the policy has that additional info when evaluating the needsRefresh() call. Know what I mean? --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=1283&messageID=4113#4113