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 minuteCryptoChecker Warn about unavailable crypto to router and wrapper logsGracefulShutdown 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 itOOMListener KaboomPersistRouterInfoJob Update the router.info file whenever its, er, updatedReadConfigJob Simply read the router config periodically, so that the user may make config changes externally.Republish Periodically publish our RouterInfo to the netdbRestarter 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 endThreadDump Only works with wrapper on non-windows platformsUpdateRoutingKeyModifierJob Update the routing Key modifier every day at midnight (plus on startup).