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