javadoc
This commit is contained in:
@ -25,6 +25,8 @@ import net.i2p.util.Log;
|
||||
*
|
||||
* NOTE: Unused directly - see FloodOnlySearchJob extension which overrides almost everything.
|
||||
* TODO: Comment out or delete what we don't use here.
|
||||
*
|
||||
* Note that this does NOT extend SearchJob.
|
||||
*/
|
||||
public class FloodSearchJob extends JobImpl {
|
||||
protected Log _log;
|
||||
|
@ -258,6 +258,8 @@ public class FloodfillNetworkDatabaseFacade extends KademliaNetworkDatabaseFacad
|
||||
/**
|
||||
* Ok, the initial set of searches to the floodfill peers timed out, lets fall back on the
|
||||
* wider kademlia-style searches
|
||||
*
|
||||
* Unused - called only by FloodSearchJob which is overridden - don't use this.
|
||||
*/
|
||||
void searchFull(Hash key, List<Job> onFind, List<Job> onFailed, long timeoutMs, boolean isLease) {
|
||||
synchronized (_activeFloodQueries) { _activeFloodQueries.remove(key); }
|
||||
|
@ -827,6 +827,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade {
|
||||
* will fire the appropriate jobs on success or timeout (or if the kademlia search completes
|
||||
* without any match)
|
||||
*
|
||||
* Unused - called only by FNDF.searchFull() from FloodSearchJob which is overridden - don't use this.
|
||||
*/
|
||||
SearchJob search(Hash key, Job onFindJob, Job onFailedLookupJob, long timeoutMs, boolean isLease) {
|
||||
if (!_initialized) return null;
|
||||
|
Reference in New Issue
Block a user