[Opensymphony-oscache] flushEntry method not working

sprfun <[email protected]> Mon, 30 May 2005 17:11:59 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <13807440.1117491149075.JavaMail.os-j2ee@opensymphony01.contegix.com>
The flushEntry method is not flushing. I am not sure if I am missing something. I am using the following code in my struts action class: 

ActionServlet actionServlet = getServlet(); 
ServletContext servletctx= actionServlet.getServletContext(); 
ServletCacheAdministrator admin = (ServletCacheAdministrator) servletctx.getAttribute("__oscache_admin"); 
Cache cache = admin.getAppScopeCache(servletctx); 
cache.flushEntry("mykey"); 

If I use flushAll() of ServletCacheAdministrator class, it is producing the expected results. 

Any help is appreciated. 

Thanks.

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=2757&messageID=7552#7552