[freenet-cvs] r14596 - trunk/freenet/src/freenet/client

toad at freenetproject.org toad at freenetproject.org
Sat Aug 11 12:43:04 UTC 2007


Author: toad
Date: 2007-08-11 12:43:04 +0000 (Sat, 11 Aug 2007)
New Revision: 14596

Modified:
   trunk/freenet/src/freenet/client/ArchiveStoreItem.java
Log:
locking comments

Modified: trunk/freenet/src/freenet/client/ArchiveStoreItem.java
===================================================================
--- trunk/freenet/src/freenet/client/ArchiveStoreItem.java	2007-08-11 12:37:27 UTC (rev 14595)
+++ trunk/freenet/src/freenet/client/ArchiveStoreItem.java	2007-08-11 12:43:04 UTC (rev 14596)
@@ -36,7 +36,8 @@
 	abstract Bucket getDataOrThrow() throws ArchiveFailureException;
 
 	/**
-	 * Return the amount of cache space used by the item.
+	 * Return the amount of cache space used by the item. May be called inside
+	 * locks so should not take any nontrivial locks or take long.
 	 */
 	abstract long spaceUsed();
 	




More information about the cvs mailing list