Class IterativeLookupJob
java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.IterativeLookupJob
- All Implemented Interfaces:
Job
class IterativeLookupJob extends JobImpl
Ask the peer who sent us the DSRM for the RouterInfos...
... but If we have the routerInfo already, try to refetch it from that router itself,
(if the info is old or we don't think it is floodfill)
which will help us establish that router as a good floodfill and speed our
integration into the network.
Very similar to SingleLookupJob.
This was all in IterativeLookupSelector.isMatch() but it caused deadlocks
with OutboundMessageRegistry.getOriginalMessages()
at both _search.newPeerToTry() and _search.failed().
- Since:
- 0.8.9
-
Field Summary
-
Constructor Summary
Constructors Constructor Description IterativeLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm, IterativeSearchJob search)
-
Method Summary
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
Constructor Details
-
IterativeLookupJob
public IterativeLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm, IterativeSearchJob search)
-
-
Method Details