Package net.i2p.router.tasks
Class ThreadDump
java.lang.Object
net.i2p.router.tasks.ThreadDump
Only works with wrapper on non-windows platforms
- Since:
 - 0.9.3 moved from RouterWatchdog
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic booleandump(I2PAppContext context, int secondsToWait) Signal the wrapper to asynchronously dump threads to wrapper.log. 
- 
Constructor Details
- 
ThreadDump
ThreadDump() 
 - 
 - 
Method Details
- 
dump
Signal the wrapper to asynchronously dump threads to wrapper.log. It waits for the signal to complete (which should be fast) but does not wait for the dump itself.- Parameters:
 secondsToWait- if <= 0, don't wait- Returns:
 - success, false if windows or no wrapper, true if secondsToWait <= 0, false if timed out, dump result otherwise
 
 
 -