public class ThreadDumper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
threadDump()
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
|
public static String threadDump() throws Exception
Exception
- if file cannot be writtenpublic static String threadDump(File basedir) throws Exception
public static void writeThreadDump(Writer writer) throws IOException
writer
- Writer
IOException
- if file cannot be writtenCopyright © 1998-2021 Apache Software Foundation. All Rights Reserved.