[Opensymphony-oscache] Clearing the cache in AbstractCacheAdministrator
kotrs <[email protected]> Mon, 06 Jun 2005 05:34:20 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <22451440.1118054119440.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Hi,
I am using OSCache with Hibernate - when I load a page Object I put it into the cache using the GeneralCacheAdministrator. The Page object also contains a Collection of ContentItems.
This is all fine untill I make a change on one of the ContentItems. If I use:
admin.flushEntry("myPageKey");
it will obviously just clear that page "myPageKey" from the cache, but it doesnt go down into the inner Objects. If I then reload that page, the ContentItems wont be refreshed, they will be pulled out of the AbstractConcurrentReadCache.
Is there an easy way to make the flushEntry cascade down the objects?
TIA
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=3027&messageID=8025#8025