Is the following code set up to correctly synchronize the calls on synchronizedMap?
synchronizedMap
public class MyClass { private static Map
If you are using JDK 6 then you might want to check out ConcurrentHashMap
Note the putIfAbsent method in that class.