[jboss-user] [JBossCache] - Re: Node clear method bug or problem in my way to use it.

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Dec 20 12:23:02 EST 2006


In JBC 1.x, operations should never take place on the Node directly.  E.g., don't do 

  | cache.get("/a/b/", "key").clear();
  | 

Instead, do:

  | cache.removeData("/a/b/");
  | 

The specific reason why you still see the data is because operations on the nodes do not go through the interceptor stack, so while you may clear the node in memory, you may not clear it in cache loaders, etc.


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

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



More information about the jboss-user mailing list