Interface JVMThreadInfoStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountStatistic
getBlockedCount()
Returns the number of times that this thread has been in the blocked stateCountStatistic
getBlockedTime()
Returns the elapsed time (in milliseconds) that the thread associated with this ThreadInfo has blocked to enter or reenter a monitor since thread contention monitoring is enabled.StringStatistic
getLockName()
Returns the string representation of the monitor lock that the thread is blocked to enter or waiting to be notified through the Object.wait methodCountStatistic
getLockOwnerId()
Returns the Id of the thread which holds the monitor lock of an object on which this thread is blockingStringStatistic
getLockOwnerName()
Returns the name of the thread that holds the monitor lock of the object this thread is blocking onStringStatistic
getStackTrace()
Returns the stacktrace associated with this threadCountStatistic
getThreadId()
Returns the Id of the threadStringStatistic
getThreadName()
Returns the name of the threadStringStatistic
getThreadState()
Returns the state of the threadCountStatistic
getWaitedCount()
Returns the number of times that the thread has been in WAITING or TIMED_WAITING statesCountStatistic
getWaitedTime()
Returns the elapsed time(in milliseconds) that the thread has been in the waiting state.-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
getThreadId
CountStatistic getThreadId()
Returns the Id of the thread- Returns:
- CountStatistic Id of the thread
-
getThreadName
StringStatistic getThreadName()
Returns the name of the thread- Returns:
- StringStatistic name of the thread
-
getThreadState
StringStatistic getThreadState()
Returns the state of the thread- Returns:
- StringStatistic Thread state
-
getBlockedTime
CountStatistic getBlockedTime()
Returns the elapsed time (in milliseconds) that the thread associated with this ThreadInfo has blocked to enter or reenter a monitor since thread contention monitoring is enabled.- Returns:
- CountStatistic time elapsed in milliseconds, since the thread entered the BLOCKED state. Returns -1 if thread contention monitoring is disabled
-
getBlockedCount
CountStatistic getBlockedCount()
Returns the number of times that this thread has been in the blocked state- Returns:
- CountStatistic the total number of times that the thread entered the BLOCKED state
-
getWaitedTime
CountStatistic getWaitedTime()
Returns the elapsed time(in milliseconds) that the thread has been in the waiting state.
-
getWaitedCount
CountStatistic getWaitedCount()
Returns the number of times that the thread has been in WAITING or TIMED_WAITING states- Returns:
- CountStatistic total number of times that the thread was in WAITING or TIMED_WAITING states
-
getLockName
StringStatistic getLockName()
Returns the string representation of the monitor lock that the thread is blocked to enter or waiting to be notified through the Object.wait method- Returns:
- StringStatistic the string representation of the monitor lock
-
getLockOwnerId
CountStatistic getLockOwnerId()
Returns the Id of the thread which holds the monitor lock of an object on which this thread is blocking- Returns:
- CountStatistic Id of the thread holding the lock.
-
getLockOwnerName
StringStatistic getLockOwnerName()
Returns the name of the thread that holds the monitor lock of the object this thread is blocking on- Returns:
- StringStatistic name of the thread holding the monitor lock.
-
getStackTrace
StringStatistic getStackTrace()
Returns the stacktrace associated with this thread
-
-