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

private static class KademliaNetworkDatabaseFacade.RefreshClientLeaseSetsJobextends JobImpl
Job to refresh client LeaseSets periodically. Only for client NetDB - refreshes LeaseSets we're actively using.
  • Field Details

  • Constructor Details

    • RefreshClientLeaseSetsJob

      public RefreshClientLeaseSetsJob(RouterContext ctx, KademliaNetworkDatabaseFacade facade)
      Refreshes the client lease sets periodically.
      Parameters:
      ctx - the router context
      facade - the facade whose lease sets to refresh
  • Method Details

    • getName

      public String getName()
      Job name.
      Returns:
      the fixed label "Refresh client LeaseSets", used to identify this job in logs and job statistics
    • runJob

      public void runJob()
      Refresh the client LeaseSets we are tracking, then reschedule.