Package net.i2p.router.tasks

Miscellaneous classes, mostly things that are executed periodically as Jobs, Threads, and SimpleTimer.TimedEvents. These are used only by Router.java. Nothing here is to be used externally, not a part of the public API.

  • Class Summary 
    Class Description
    BasePerms  
    CoalesceStatsEvent
    Coalesce the stats framework every minute
    CryptoChecker
    Warn about unavailable crypto to router and wrapper logs
    GracefulShutdown
    Simple thread that sits and waits forever, managing the graceful shutdown "process" (describing it would take more text than just reading the code...)
    InstallUpdate
    If the i2pupdate.zip file is present, unzip it and JVM exit.
    MarkLiveliness
    Write a timestamp to the ping file where other routers trying to use the same configuration can see it
    OOMListener
    Kaboom
    PersistRouterInfoJob
    Update the router.info file whenever its, er, updated
    ReadConfigJob
    Simply read the router config periodically, so that the user may make config changes externally.
    Republish
    Periodically publish our RouterInfo to the netdb
    Restarter  
    RouterWatchdog
    Periodically check to make sure things haven't gone totally haywire (and if they have, restart the JVM)
    ShutdownHook
    Just for failsafe.
    Spinner
    A non-daemon thread to let the shutdown task get all the way to the end
    ThreadDump
    Only works with wrapper on non-windows platforms
    UpdateRoutingKeyModifierJob
    Update the routing Key modifier every day at midnight (plus on startup).