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
-
-
Constructor Summary
Constructors Constructor Description IterativeLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm, IterativeSearchJob search)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Descriptive name of the taskvoid
runJob()
Actually perform the task.-
Methods inherited from class net.i2p.router.JobImpl
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString
-
-
-
-
Constructor Detail
-
IterativeLookupJob
public IterativeLookupJob(RouterContext ctx, DatabaseSearchReplyMessage dsrm, IterativeSearchJob search)
-
-