FileDocCategorySizeDatePackage
JVMThreadStats.javaAPI DocGlassfish v2 API3944Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

JVMThreadStats

public interface JVMThreadStats implements javax.management.j2ee.statistics.Stats
A Stats interface, to expose the monitoring information about the thread system of the JVM.
since
8.1

Fields Summary
Constructors Summary
Methods Summary
public com.sun.enterprise.admin.monitor.stats.StringStatisticgetAllThreadIds()
Returns a comma separated list of all live thread ids

return
StringStatistic live thread ids

public javax.management.j2ee.statistics.CountStatisticgetCurrentThreadCPUTime()
Returns the CPU time for the current thread in nanoseconds, if CPU time measurement is enabled. Else returns -1

return
CountStatistic CPU time for the current thread

public javax.management.j2ee.statistics.CountStatisticgetDaemonThreadCount()
Returns the current number of live daemon threads

return
CountStatistic current number of live daemon threads

public com.sun.enterprise.admin.monitor.stats.StringStatisticgetMonitorDeadlockedThreads()
Returns a comma separated list of thread ids that are monitor deadlocked

return
StringStatistic

public javax.management.j2ee.statistics.CountStatisticgetPeakThreadCount()
Returns the peak live thread count, since the JVM started or the peak was reset

return
CountStatistic peak live thread count

public javax.management.j2ee.statistics.CountStatisticgetThreadCount()
Returns the current number of live daemon and non-daemon threads

return
CountStatistic current number of live threads

public javax.management.j2ee.statistics.CountStatisticgetTotalStartedThreadCount()
Returns the total number of threads created and also started since the JVM started

return
CountStatistic total number of threads started