I have a custom cacheloader impl that is used to fetch data on cache misses. 
When I fetch the data, and return my Map via the CacheLoader.get(Fqn name) 
interface method call, I also wish to create and register additional 
Fqn/DataNode pairs in the cache store. Is this possible? 

ex:

assume a node '/a/b/c' results in a cache miss for a treeCache.get(fqn) 
invocation.

  In this case, my custom cache loader is called, so I will send back a 
java.util.Map for node '/a/b/c', but what if I also want to register addition 
child nodes such as /a/b/c/d1, /a/b/c/d2, etc.

What's the best way to do this given I wish to avoid making multiple calls from 
 in the cases where I am using TcpDelegatingCacheLoader for a distributed 
cache.  

thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971978
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to