LRUMap does not support concurrent access to any of its methods

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Morgan James Delagrange 2002-02-14 21:24:32 +00:00
parent f22d9bce8c
commit c9cc92c63e
1 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/LRUMap.java,v 1.7 2002/02/14 20:58:48 morgand Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/LRUMap.java,v 1.8 2002/02/14 21:24:32 morgand Exp $
* $Revision: 1.7 $ * $Revision: 1.8 $
* $Date: 2002/02/14 20:58:48 $ * $Date: 2002/02/14 21:24:32 $
* *
* ==================================================================== * ====================================================================
* *
@ -87,6 +87,9 @@ import java.util.Set;
* <p> * <p>
* A synchronized version can be obtained with: * A synchronized version can be obtained with:
* <code>Collections.synchronizedMap( theMapToSynchronize )</code> * <code>Collections.synchronizedMap( theMapToSynchronize )</code>
* If it will be accessed by multiple threads, you _must_ synchronize access
* to this Map. Even concurrent get(Object) operations produce indeterminate
* behaviour.
* </p> * </p>
* *
* <p> * <p>