Interface JVMThreadStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringStatistic
getAllThreadIds()
Returns a comma separated list of all live thread idsCountStatistic
getCurrentThreadCPUTime()
Returns the CPU time for the current thread in nanoseconds, if CPU time measurement is enabled.CountStatistic
getDaemonThreadCount()
Returns the current number of live daemon threadsStringStatistic
getMonitorDeadlockedThreads()
Returns a comma separated list of thread ids that are monitor deadlockedCountStatistic
getPeakThreadCount()
Returns the peak live thread count, since the JVM started or the peak was resetCountStatistic
getThreadCount()
Returns the current number of live daemon and non-daemon threadsCountStatistic
getTotalStartedThreadCount()
Returns the total number of threads created and also started since the JVM started-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
getThreadCount
CountStatistic getThreadCount()
Returns the current number of live daemon and non-daemon threads- Returns:
- CountStatistic current number of live threads
-
getPeakThreadCount
CountStatistic getPeakThreadCount()
Returns the peak live thread count, since the JVM started or the peak was reset- Returns:
- CountStatistic peak live thread count
-
getTotalStartedThreadCount
CountStatistic getTotalStartedThreadCount()
Returns the total number of threads created and also started since the JVM started- Returns:
- CountStatistic total number of threads started
-
getDaemonThreadCount
CountStatistic getDaemonThreadCount()
Returns the current number of live daemon threads- Returns:
- CountStatistic current number of live daemon threads
-
getAllThreadIds
StringStatistic getAllThreadIds()
Returns a comma separated list of all live thread ids- Returns:
- StringStatistic live thread ids
-
getCurrentThreadCPUTime
CountStatistic getCurrentThreadCPUTime()
Returns the CPU time for the current thread in nanoseconds, if CPU time measurement is enabled. Else returns -1- Returns:
- CountStatistic CPU time for the current thread
-
getMonitorDeadlockedThreads
StringStatistic getMonitorDeadlockedThreads()
Returns a comma separated list of thread ids that are monitor deadlocked- Returns:
- StringStatistic
-
-