All Implemented Interfaces:
Job

class IterativeFollowupJobextends SingleSearchJob
Performs targeted followup lookups during iterative search operations.

Extends SingleSearchJob to query specific peers for RouterInfo during iterative searches. Unlike SingleSearchJob, this class notifies the parent search job when successful, allowing the iterative search to incorporate the new peer into its search strategy.

Used when iterative searches discover new peers that need direct querying to obtain their RouterInfo for further search refinement. Provides seamless integration with the iterative search algorithm while reusing existing selector infrastructure.

  • Field Details

  • Constructor Details

    • IterativeFollowupJob

      public IterativeFollowupJob(RouterContext ctx, Hash key, Hash to, IterativeSearchJob search)
      Queries one peer for a single key on behalf of an iterative search.
      Parameters:
      ctx - the router context the lookup runs against
      key - the hash being looked up, passed to the SingleSearchJob superclass
      to - the peer to query directly for that key, passed to the SingleSearchJob superclass
      search - the parent iterative search, notified of a successful lookup so it can adopt the new peer
  • Method Details