[jboss-user] [JBoss Cache: Core Edition] - Re: CacheLoader does not load a node if its parent has been

manik.surtani@jboss.com do-not-reply at jboss.com
Wed Jun 11 09:16:25 EDT 2008


Looking at your scenario I think this is expected behaviour.

cache.remove() will remove the node and all it's children.  When you use a cache loader, this behaviour is passed on to the cache loader too.

So when you do cache.remove("/a") this will remove /a and all its children both in memory and in the cache loader.

So I'm not surprised that when you then to a cache.get("/a/b/c") you get null.  :)



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

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



More information about the jboss-user mailing list