[concurrency-interest] ConcurrentHashMap - feature request

Joshua Bloch joshua.bloch@sun.com
Mon, 23 Dec 2002 08:05:37 -0800


   ConcurrentHashMap provides exactly the support you need.  It implements the ConcurrentMap implementation which consists solely of the putIfAbsent method.  See http://gee.cs.oswego.edu/dl/concurrent/dist/docs/index.html for details.  Also, it's worth noting that locking up the entire map in order to perform this operation would defeat the purpose of the class (high concurrency).

              Happy holidays,