KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > management > ThreadMXBean

java.lang.management
Interface ThreadMXBean

See Also:
Top Examples, Source Code, setThreadContentionMonitoringEnabled(boolean), isThreadContentionMonitoringSupported(), setThreadCpuTimeEnabled(boolean), isThreadCpuTimeEnabled(), isCurrentThreadCpuTimeSupported(), isThreadCpuTimeSupported(), Thread.getId(), java.lang:type=Threading, platform MBeanServer, ManagementFactory.getThreadMXBean()

long[] findMonitorDeadlockedThreads()
See Also:
SecurityException, Object.wait
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long[] getAllThreadIds()
See Also:
SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long getCurrentThreadCpuTime()
See Also:
setThreadCpuTimeEnabled(boolean), isThreadCpuTimeEnabled(), isCurrentThreadCpuTimeSupported(), getCurrentThreadUserTime(), UnsupportedOperationException, getThreadCpuTime
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long getCurrentThreadUserTime()
See Also:
setThreadCpuTimeEnabled(boolean), isThreadCpuTimeEnabled(), isCurrentThreadCpuTimeSupported(), getCurrentThreadCpuTime(), UnsupportedOperationException, getThreadUserTime
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getDaemonThreadCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getPeakThreadCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


int getThreadCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long getThreadCpuTime(long id)
See Also:
setThreadCpuTimeEnabled(boolean), isThreadCpuTimeEnabled(), isThreadCpuTimeSupported(), getThreadUserTime(long), UnsupportedOperationException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ThreadInfo getThreadInfo(long id)
See Also:
SecurityException, IllegalArgumentException, ThreadInfo, getThreadInfo(id, 0);
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ThreadInfo getThreadInfo(long id,
                         int maxDepth)
See Also:
SecurityException, IllegalArgumentException, ThreadInfo
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ThreadInfo[] getThreadInfo(long[] ids)
See Also:
SecurityException, IllegalArgumentException, ThreadInfo, getThreadInfo
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


ThreadInfo[] getThreadInfo(long[] ids,
                           int maxDepth)
See Also:
SecurityException, IllegalArgumentException, ThreadInfo
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long getThreadUserTime(long id)
See Also:
setThreadCpuTimeEnabled(boolean), isThreadCpuTimeEnabled(), isThreadCpuTimeSupported(), getThreadCpuTime(long), UnsupportedOperationException, IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


long getTotalStartedThreadCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isCurrentThreadCpuTimeSupported()
See Also:
isThreadCpuTimeSupported()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isThreadContentionMonitoringEnabled()
See Also:
isThreadContentionMonitoringSupported(), UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isThreadContentionMonitoringSupported()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isThreadCpuTimeEnabled()
See Also:
isCurrentThreadCpuTimeSupported(), isThreadCpuTimeSupported(), UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


boolean isThreadCpuTimeSupported()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void resetPeakThreadCount()
See Also:
getThreadCount(), getPeakThreadCount(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setThreadContentionMonitoringEnabled(boolean enable)
See Also:
isThreadContentionMonitoringSupported(), SecurityException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setThreadCpuTimeEnabled(boolean enable)
See Also:
isCurrentThreadCpuTimeSupported(), isThreadCpuTimeSupported(), SecurityException, UnsupportedOperationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags