Package net.i2p.router.tasks
Class RouterWatchdog
java.lang.Object
net.i2p.router.tasks.RouterWatchdog
- All Implemented Interfaces:
Runnable
public class RouterWatchdog extends Object implements Runnable
Periodically check to make sure things haven't gone totally haywire (and if
they have, restart the JVM)
-
Constructor Summary
Constructors Constructor Description RouterWatchdog(RouterContext ctx)
-
Method Summary
Modifier and Type Method Description void
monitorRouter()
void
run()
void
shutdown()
boolean
verifyClientLiveliness()
boolean
verifyJobQueueLiveliness()
-
Constructor Details
-
Method Details
-
shutdown
public void shutdown()- Since:
- 0.8.8
-
verifyJobQueueLiveliness
public boolean verifyJobQueueLiveliness() -
verifyClientLiveliness
public boolean verifyClientLiveliness() -
run
public void run() -
monitorRouter
public void monitorRouter()
-