[Opensymphony-oscache] flushEntry method not working

Lars Torunski <[email protected]> Wed, 01 Jun 2005 12:51:30 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <1902282.1117648320848.JavaMail.os-j2ee@opensymphony01.contegix.com>
Please try:

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

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