Added notes about concurrent access to LRUMap.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@347973 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Burrell Donkin 2005-11-21 20:36:21 +00:00
parent d29ce53657
commit 73b6d48549
2 changed files with 9 additions and 0 deletions

View File

@ -129,6 +129,10 @@
<email></email>
<organization></organization>
</developer>
<developer>
<name>Robert Burrell Donkin</name>
<id>rdonkin</id>
</developer>
</developers>
<contributors>

View File

@ -39,6 +39,11 @@ import org.apache.commons.collections.BoundedMap;
* <p>
* All the available iterators can be reset back to the start by casting to
* <code>ResettableIterator</code> and calling <code>reset()</code>.
* <p>
* <strong>Note</strong> as is the usual convention, this map must be protected
* from concurrent access by multiple threads for example by calling
* <code>Collections.synchronizeMap</code>. This class may throw
* <code>NullPointerException</code>'s when accessed by concurrent threads.
*
* @since Commons Collections 3.0 (previously in main package v1.0)
* @version $Revision$ $Date$