What would be wrong with setting an eviction policy on the cluster so that entries are
evicted older than 5 seconds? That would probably be the easiest to configure.
Though, your delay approach would probably work. Just be sure to have the removal action
queued and take place in a separate thread. Some sort of batched remove might work
faster.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167454#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...