java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodOnlyLookupTimeoutJob
All Implemented Interfaces:
Job

class FloodOnlyLookupTimeoutJobextends JobImpl
Timeout handler for flood-only search operations.

Triggers search failure when the overall search timeout expires. Used by FloodOnlySearchJob to enforce total time limits and ensure searches don't run indefinitely without resolution.

This complements the per-peer timeout mechanisms by providing a search-wide timeout boundary.

  • Field Details

  • Constructor Details

    • FloodOnlyLookupTimeoutJob

      public FloodOnlyLookupTimeoutJob(RouterContext ctx, FloodSearchJob job)
      Remembers the flood search to fail on timeout.
      Parameters:
      ctx - router context, passed to the JobImpl superclass
      job - flood search to fail when the overall lookup timeout expires
  • Method Details

    • runJob

      public void runJob()
      Fail the search job when the lookup times out.
    • getName

      public String getName()
      Name of this job.
      Returns:
      the fixed descriptive name "Timeout NetDb FloodSearch" of this job