The map is constructed at startup and then never modified, so this is a decent solution, akin to a CopyOnWrite datastructure.
On Tue, Mar 23, 2010 at 8:14 AM, <[email protected]> wrote: > On 2010/03/23 13:18:39, Paul Lindner wrote: > >> A different way of dealing with >> https://issues.apache.org/jira/browse/SHINDIG-1283 >> > > The Jira indicates the usage of ConcurrentHashMap which supposedly not > required to use synchronize. Wouldn't that be a better way then using > synchronized and copy the map for every change? > > > > http://codereview.appspot.com/669043/show >
