站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v6.0, Java 2 SDK 英文文档

Uses of Class java.lang.management.ThreadInfo (Java Platform SE 6) - JDK 5 Documentation v6.0, Java 2 SDK 英文文档


Java™ Platform
Standard Ed. 6

Uses of Class
java.lang.management.ThreadInfo

Packages that use ThreadInfo
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
 

Uses of ThreadInfo in java.lang.management
 

Methods in java.lang.management that return ThreadInfo
 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 cd)
          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.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.