private static class Management.UnimplementedBean extends Object implements ThreadMXBean, com.sun.management.ThreadMXBean
Modifier | Constructor and Description |
---|---|
private |
UnimplementedBean() |
private UnimplementedBean()
public ObjectName getObjectName()
getObjectName
in interface PlatformManagedObject
public long getThreadAllocatedBytes(long arg0)
public long[] getThreadAllocatedBytes(long[] arg0)
public long[] getThreadCpuTime(long[] arg0)
public long[] getThreadUserTime(long[] arg0)
public boolean isThreadAllocatedMemoryEnabled()
public boolean isThreadAllocatedMemorySupported()
public void setThreadAllocatedMemoryEnabled(boolean arg0)
public int getThreadCount()
getThreadCount
in interface ThreadMXBean
public int getPeakThreadCount()
getPeakThreadCount
in interface ThreadMXBean
public long getTotalStartedThreadCount()
getTotalStartedThreadCount
in interface ThreadMXBean
public int getDaemonThreadCount()
getDaemonThreadCount
in interface ThreadMXBean
public long[] getAllThreadIds()
getAllThreadIds
in interface ThreadMXBean
public ThreadInfo getThreadInfo(long id)
getThreadInfo
in interface ThreadMXBean
public ThreadInfo[] getThreadInfo(long[] ids)
getThreadInfo
in interface ThreadMXBean
public ThreadInfo getThreadInfo(long id, int maxDepth)
getThreadInfo
in interface ThreadMXBean
public ThreadInfo[] getThreadInfo(long[] ids, int maxDepth)
getThreadInfo
in interface ThreadMXBean
public boolean isThreadContentionMonitoringSupported()
isThreadContentionMonitoringSupported
in interface ThreadMXBean
public boolean isThreadContentionMonitoringEnabled()
isThreadContentionMonitoringEnabled
in interface ThreadMXBean
public void setThreadContentionMonitoringEnabled(boolean enable)
setThreadContentionMonitoringEnabled
in interface ThreadMXBean
public long getCurrentThreadCpuTime()
getCurrentThreadCpuTime
in interface ThreadMXBean
public long getCurrentThreadUserTime()
getCurrentThreadUserTime
in interface ThreadMXBean
public long getThreadCpuTime(long id)
getThreadCpuTime
in interface ThreadMXBean
public long getThreadUserTime(long id)
getThreadUserTime
in interface ThreadMXBean
public boolean isThreadCpuTimeSupported()
isThreadCpuTimeSupported
in interface ThreadMXBean
public boolean isCurrentThreadCpuTimeSupported()
isCurrentThreadCpuTimeSupported
in interface ThreadMXBean
public boolean isThreadCpuTimeEnabled()
isThreadCpuTimeEnabled
in interface ThreadMXBean
public void setThreadCpuTimeEnabled(boolean enable)
setThreadCpuTimeEnabled
in interface ThreadMXBean
public long[] findMonitorDeadlockedThreads()
findMonitorDeadlockedThreads
in interface ThreadMXBean
public void resetPeakThreadCount()
resetPeakThreadCount
in interface ThreadMXBean
public long[] findDeadlockedThreads()
findDeadlockedThreads
in interface ThreadMXBean
public boolean isObjectMonitorUsageSupported()
isObjectMonitorUsageSupported
in interface ThreadMXBean
public boolean isSynchronizerUsageSupported()
isSynchronizerUsageSupported
in interface ThreadMXBean
public ThreadInfo[] getThreadInfo(long[] ids, boolean lockedMonitors, boolean lockedSynchronizers)
getThreadInfo
in interface ThreadMXBean
public ThreadInfo[] dumpAllThreads(boolean lockedMonitors, boolean lockedSynchronizers)
dumpAllThreads
in interface ThreadMXBean