net.i2p.router.networkdb.kademlia

## Class RefreshRoutersJob

- java.lang.Object
- - net.i2p.router.JobImpl
  - - net.i2p.router.networkdb.kademlia.RefreshRoutersJob

- All Implemented Interfaces:
    Job

      class RefreshRoutersJob
      extends JobImpl

  RefreshRoutersJob performs router info refresh operations periodically.

  After startup, refetches router infos, prioritizing floodfill routers, to keep the network database fresh and healthy. This class tries to balance load and avoid overload by controlling timing and refresh intervals.

- - ### Field Summary

    - ### Fields inherited from class net.i2p.router.JobImpl

      `_id`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RefreshRoutersJob(RouterContext ctx, FloodfillNetworkDatabaseFacade facade)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()` Descriptive name of the task
    `void` | `runJob()` Entry point for the job execution.

    - ### Methods inherited from class net.i2p.router.JobImpl

      `dropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RefreshRoutersJob

          public RefreshRoutersJob(RouterContext ctx,
                                   FloodfillNetworkDatabaseFacade facade)

  - ### Method Detail

    - #### 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()

      Entry point for the job execution. Performs checks and delegates detailed router refresh logic.