java.lang.Object
java.lang.Thread
net.i2p.util.I2PThread
net.i2p.router.peermanager.PeerManager.ReorgThread
All Implemented Interfaces:
Runnable
Enclosing class:
PeerManager

private class PeerManager.ReorgThreadextends I2PThread
Reorganize the profiles. Also periodically store them, and delete very old ones.

This takes too long to run on the SimpleTimer2 queue.

  • Field Details

  • Constructor Details

    • ReorgThread

      public ReorgThread(SimpleTimer2.TimedEvent event)
      Create the thread that performs the reorganization.
      Parameters:
      event - the timer event used to schedule the next reorganization
  • Method Details

    • run

      public void run()
      Reorganize the profiles, periodically storing them and evicting stale ones.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class I2PThread