java.lang.Object
net.i2p.router.peermanager.PeerManager.ProfileLoader
All Implemented Interfaces:
Runnable
Enclosing class:
PeerManager

private class PeerManager.ProfileLoaderextends Object implements Runnable
Load the profiles and instantiate Reorg, waiting for 60s uptime to allow the routerinfos to load first.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) Router
    The router, used for its uptime.
    (package private) long
    How long the router has been up, in milliseconds.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Reads the stored peer profiles at startup.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    void
    run()
    Load the stored profiles and start the reorg timer once the router is up.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • r

      The router, used for its uptime.
    • uptime

      long uptime
      How long the router has been up, in milliseconds.
  • Constructor Details

    • ProfileLoader

      private ProfileLoader()
      Reads the stored peer profiles at startup.
  • Method Details

    • run

      public void run()
      Load the stored profiles and start the reorg timer once the router is up.
      Specified by:
      run in interface Runnable