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 String
Returns name of file containing thread dump.static String
threadDump
(File basedir) Returns name of file containing thread dump.static void
writeThreadDump
(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
-