"jiwils" wrote : | Do I need locking when I am "getting" a value that is already in a node's map? I do not care if other items are added to the map while I am "getting" this value do I? Is the issue you refer to the reason I am getting null? |
Yes, you need locks on reads: if isolation level is SERIALIZABLE, then a get() might block if another read or write is happening. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856645#3856645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856645 ------------------------------------------------------- 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