Author: toad
Date: 2009-04-02 17:35:50 +0000 (Thu, 02 Apr 2009)
New Revision: 26369
Modified:
trunk/freenet/src/freenet/client/ArchiveManager.java
Log:
FIXME
Modified: trunk/freenet/src/freenet/client/ArchiveManager.java
===================================================================
--- trunk/freenet/src/freenet/client/ArchiveManager.java 2009-04-02
17:31:08 UTC (rev 26368)
+++ trunk/freenet/src/freenet/client/ArchiveManager.java 2009-04-02
17:35:50 UTC (rev 26369)
@@ -244,6 +244,10 @@
* @throws ArchiveRestartException
* @throws ArchiveRestartException If the request needs to be restarted
because the archive
* changed.
+ *
+ * FIXME: This method *can* be called from the database thread, however
it isn't at
+ * present (check the call stack). Maybe we should get rid of the
ObjectContainer?
+ * OTOH maybe extracting inline on the database thread for small
containers would be useful?
*/
public void extractToCache(FreenetURI key, ARCHIVE_TYPE archiveType,
COMPRESSOR_TYPE ctype, Bucket data, ArchiveContext archiveContext,
ArchiveStoreContext ctx, String element, ArchiveExtractCallback callback,
ObjectContainer container, ClientContext context) throws
ArchiveFailureException, ArchiveRestartException {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs