Package com.codahale.metrics.jvm
Class ThreadDump
- java.lang.Object
-
- com.codahale.metrics.jvm.ThreadDump
-
public class ThreadDump extends java.lang.Object
A convenience class for getting a thread dump.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.management.ThreadMXBean
threadMXBean
private static java.nio.charset.Charset
UTF_8
-
Constructor Summary
Constructors Constructor Description ThreadDump(java.lang.management.ThreadMXBean threadMXBean)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(java.io.OutputStream out)
Dumps all of the threads' current information to an output stream.
-