java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodOnlyLookupMatchJob
All Implemented Interfaces:
Job, ReplyJob
Direct Known Subclasses:
DirectLookupMatchJob

class FloodOnlyLookupMatchJobextends JobImpl implements ReplyJob
Handles match processing for flood-only search operations.

This job processes responses to flood-only searches, determining success or failure based on received database store messages. It coordinates with the parent search job to signal completion and handles LeaseSet reply marking appropriately.

Extends the base match job functionality to work specifically with flood-based search strategies where responses are processed asynchronously.

  • Field Details

    • _log

      protected final Log _log
      The log.
    • _success

      protected volatile boolean _success
      Whether the match was successful.
  • Constructor Details

    • FloodOnlyLookupMatchJob

      public FloodOnlyLookupMatchJob(RouterContext ctx, FloodSearchJob job)
      Match job for a flood-only search.
      Parameters:
      ctx - the router context
      job - the parent flood search job
  • Method Details

    • runJob

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

      public String getName()
      Description copied from interface: Job
      Descriptive name of the task.
      Specified by:
      getName in interface Job
      Returns:
      the descriptive name of the task
    • setMessage

      public void setMessage(I2NPMessage message)
      Description copied from interface: ReplyJob
      Called by InNetMessagePool when an I2NPMessage matching a MessageSelector registered with the OutboundMessageRegistry is received.
      Specified by:
      setMessage in interface ReplyJob
      Parameters:
      message - the received I2NP message