Howdy all,

I'm (still) implementing a cache loader and trying to get a feel for how it 
works. 
I'm wondering about TreeCache.get(Fqn). It does not seem to call 
CacheLoader.get(Fqn) (which it should in my opinion).

My code: 

TreeCache cache = new TreeCache();
  .
  .
Node node = cache.get(new Fqn("top_node");

 I trace the excution to TreeCache.findNode() and to this snippet:

        // try CacheLoader if node is not in cache
         if(child_node == null && cache_loader != null) {
            try {
               if(cache_loader.exists(fqn)) {
                  child_node=n.createChild(child_name, tmp_fqn, n, 
UNINITIALIZED, null);
                  notifyNodeLoaded(tmp_fqn);
               }
            }


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to