[jboss-dev-forums] [Design of Security on JBoss] - Re: TimedCachedPolicy never removes entries from cache

scott.stark@jboss.org do-not-reply at jboss.com
Wed Aug 1 19:47:07 EDT 2007


Sure, but the impl needs to be updated to use a ConcurrentHashMap so that the flush is not blocking access. You could also look at using the java.util.concurrent.DelayQueue to know exactly when entries have expired and how many have expired.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069841#4069841

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069841



More information about the jboss-dev-forums mailing list