I'm interested in learning the correct way to add data to a node only if the node is empty. My concern is that between checking if an FQN exists, and adding a new object under that specific FQN, data could have been added to the cache.
I understand there is explicit locking on Node objects, but if the FQN does not exist in the cache, it will return null. Is there a basic pattern or strategy I should be taking to avoid this potential problem? Thanks in advance for any suggestions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009820#4009820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009820 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
