JBoss Community

Jboss cache - load children nodes in memory

created by Alex Petre in JBoss Cache - View the full discussion

Hi,

 

I'm using Jboss cache 1.4.1.SP10 and after a server restart I want to load in memory some nodes. I only have the parent node so I try retreive the node with treecacheMbean.get(myfqn) and then call the getChildren method. However the children nodes are not loaded.

 

I also tried the following thing:

     - cache.getTreeCacheMBean().getCacheLoader().getChildrenNames(myFqn); - but only the leaf nodes are loaded this way.

(/abc//a/b/c//x/y/z --- for parent /a/b/c => z )

 

Please help me with a way to use this evicted nodes after my server restarts.

 

Thank you!

Alex

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community