java.lang.Object
net.i2p.router.JobImpl
net.i2p.router.networkdb.kademlia.FloodfillNetworkDatabaseFacade.DropLookupFoundJob
All Implemented Interfaces:
Job
Enclosing class:
FloodfillNetworkDatabaseFacade

private class FloodfillNetworkDatabaseFacade.DropLookupFoundJobextends JobImpl
Verify a failing peer after a successful lookup.
  • Field Details

    • _peer

      private final Hash _peer
      The peer the reply goes to.
    • _info

      private final RouterInfo _info
      The router info being stored.
  • Constructor Details

    • DropLookupFoundJob

      public DropLookupFoundJob(RouterContext ctx, Hash peer, RouterInfo info)
      Job to verify a failing peer after a successful lookup.
      Parameters:
      ctx - router context the job runs against
      peer - the floodfill peer that returned the same RouterInfo we already had
      info - the stored RouterInfo for comparison
  • Method Details

    • getName

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

      public void runJob()
      Compare updated RouterInfo and drop peer if unchanged.