| Package | Description |
|---|---|
| java.lang.management |
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
|
| Modifier and Type | Method and Description |
|---|---|
ThreadInfo |
ThreadMXBean.dumpAllThreads(boolean lockedMonitors, boolean lockedSynchronizers)
Returns the thread info for all live threads with stack trace and synchronization information.
|
static ThreadInfo |
ThreadInfo.from(CompositeData
Returns a
ThreadInfo object represented by the given
CompositeData.
|
ThreadInfo |
ThreadMXBean.getThreadInfo(long id)
Returns the thread info for a thread of the specified
id with no stack trace.
|
ThreadInfo |
ThreadMXBean.getThreadInfo(long[] ids)
Returns the thread info for each thread whose ID is in the input array
ids with no stack trace.
|
ThreadInfo |
ThreadMXBean.getThreadInfo(long[] ids, boolean lockedMonitors, boolean lockedSynchronizers)
Returns the thread info for each thread whose ID is in the input array
ids, with stack trace and synchronization information.
|
ThreadInfo |
ThreadMXBean.getThreadInfo(long[] ids, int maxDepth)
Returns the thread info for each thread whose ID is in the input array
ids, with stack trace of a specified number of stack trace elements.
|
ThreadInfo |
ThreadMXBean.getThreadInfo(long id, int maxDepth)
Returns a thread info for a thread of the specified
id, with stack trace of a specified number of stack trace elements.
|