Class 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
    • Method Detail

      • runJob

        public void runJob()
        Description copied from interface: Job
        Actually perform the task. This call blocks until the Job is complete.
      • getName

        public String getName()
        Description copied from interface: Job
        Descriptive name of the task