[jboss-dev-forums] [JBoss Microcontainer Development] - Re: MemoryMetaDataLoader not threadsafe?

alesj do-not-reply at jboss.com
Fri Nov 20 11:49:13 EST 2009


Even putIfAbsent doesn't completely solve your problem.
e.g. what if something just adds something while you're doing the merge?

Or is that what you meant by "For simple values this will probably be fine"?
But then the first one wins. :-)


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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266803



More information about the jboss-dev-forums mailing list