Package org.apache.jorphan.util
Class ThreadDumper
java.lang.Object
org.apache.jorphan.util.ThreadDumper
Utility class to create a Thread Dump
- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns name of file containing thread dump.static StringthreadDump(File basedir) Returns name of file containing thread dump.static voidwriteThreadDump(Writer writer) Write Thread Dump
-
Method Details
-
threadDump
Returns name of file containing thread dump.- Returns:
- Name of file containing thread dump
- Throws:
Exception- if file cannot be written
-
threadDump
Returns name of file containing thread dump. -
writeThreadDump
Write Thread Dump- Parameters:
writer-Writer- Throws:
IOException- if file cannot be written
-