[jboss-user] [JBoss Cache Users] - Clarification: Evict vs Remove

keith.zantow@kronos.com do-not-reply at jboss.com
Mon Aug 24 09:19:34 EDT 2009


I've read the API and documentation but can't quite figure out a clear indicator when to use Cache.evict(node, recursive) vs Cache.removeNode(node). They both look similar in the CacheInvocationDelegate on the surface. What's the difference between those two methods - does removeNode(node) issue invalidation messages in ASYNC mode? Is one more efficient than the other?

Thanks.

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

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



More information about the jboss-user mailing list