net.i2p.router
Class RouterWatchdog

java.lang.Object
  extended by net.i2p.router.RouterWatchdog
All Implemented Interfaces:
java.lang.Runnable

 class RouterWatchdog
extends java.lang.Object
implements java.lang.Runnable

Periodically check to make sure things haven't gone totally haywire (and if they have, restart the JVM)


Constructor Summary
RouterWatchdog(RouterContext ctx)
           
 
Method Summary
 void monitorRouter()
           
 void run()
           
 boolean verifyClientLiveliness()
           
 boolean verifyJobQueueLiveliness()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouterWatchdog

public RouterWatchdog(RouterContext ctx)
Method Detail

verifyJobQueueLiveliness

public boolean verifyJobQueueLiveliness()

verifyClientLiveliness

public boolean verifyClientLiveliness()

run

public void run()
Specified by:
run in interface java.lang.Runnable

monitorRouter

public void monitorRouter()