Update of /var/cvs/src/org/mmbase/cache
In directory james.mmbase.org:/tmp/cvs-serv23508
Modified Files:
Cache.java
Log Message:
targeting fix for MMB-1669
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/cache
See also: http://www.mmbase.org/jira/browse/MMB-1669
Index: Cache.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/cache/Cache.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -b -r1.51 -r1.52
--- Cache.java 24 Jun 2008 10:58:34 -0000 1.51
+++ Cache.java 30 Jun 2008 08:11:08 -0000 1.52
@@ -20,7 +20,7 @@
* A base class for all Caches. Extend this class for other caches.
*
* @author Michiel Meeuwissen
- * @version $Id: Cache.java,v 1.51 2008/06/24 10:58:34 michiel Exp $
+ * @version $Id: Cache.java,v 1.52 2008/06/30 08:11:08 michiel Exp $
*/
abstract public class Cache<K, V> implements SizeMeasurable, Map<K, V> {
@@ -77,6 +77,15 @@
}
/**
+ * If you want to structurally modify this cache, synchronize on this
object.
+ *
+ * @since MMBase-1.8.6
+ */
+ public final Object getLock() {
+ return lock;
+ }
+
+ /**
* Returns a name for this cache type. Default it is the class
* name, but this normally will be overriden.
*/
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs