Use a read/write lock then. The problem you are trying to solve is exactly what the CacheLoader was designed to do.
With a CacheLoader, every get() on a non-existing node, or a node marked as not-yet-loaded will access the underlying store. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867482#3867482 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867482 ------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development