Author: toad
Date: 2009-02-25 18:20:28 +0000 (Wed, 25 Feb 2009)
New Revision: 25813

Modified:
   branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Javadocs


Modified: 
branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2009-02-25 07:16:54 UTC (rev 25812)
+++ branches/db4o/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2009-02-25 18:20:28 UTC (rev 25813)
@@ -996,6 +996,16 @@
                        return transientCooldownQueue.add(key.getNodeKey(), 
getter, null);
        }
 
+       /**
+        * Restore keys from the given cooldown queue. Find any keys that are 
due to be
+        * restored, restore all requests both persistent and non-persistent 
for those keys.
+        * @param queue
+        * @param persistent
+        * @param container
+        * @return Long.MAX_VALUE if nothing is queued in the next 
WAIT_AFTER_NOTHING_TO_START
+        * millis, the time at which the next key is due to be restored if 
there are keys queued
+        * to be restarted in the near future.
+        */
        private long moveKeysFromCooldownQueue(CooldownQueue queue, boolean 
persistent, ObjectContainer container) {
                if(queue == null) return Long.MAX_VALUE;
                long now = System.currentTimeMillis();

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to