@AMXMetadata(type="threadinfo-mon",
group="monitoring")
@ManagedObject
@Description(value="JVM Thread Info Statistics")
public class JVMThreadInfoStatsProvider
extends Object
The MBean will be of the format
aamx:pp=/mon/server-mon[server],type=threadinfo-mon,name=jvm/thread-system/thread-1
and can be enabled by turning the Jvm monitoring level in the admin console to HIGH
| Constructor and Description |
|---|
JVMThreadInfoStatsProvider(ThreadInfo info) |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.external.statistics.CountStatistic |
getBlockedCount()
Gets the total number of times that the thread associated with this ThreadInfo blocked to enter or reenter a monitor
|
org.glassfish.external.statistics.CountStatistic |
getBlockedTime()
Gets he approximate accumulated elapsed time that the thread associated with this ThreadInfo
has blocked to enter or reenter a monitor since thread contention monitoring is enabled
|
org.glassfish.external.statistics.StringStatistic |
getLockName()
Gets the string representation of an object for which the thread associated with this ThreadInfo is blocked waiting
|
org.glassfish.external.statistics.CountStatistic |
getLockOwnerId()
Gets the ID of the thread which owns the object for which the thread associated with this ThreadInfo is blocked waiting
|
org.glassfish.external.statistics.StringStatistic |
getLockOwnerName()
Gets the name of the thread which owns the object for which the thread associated with this ThreadInfo is blocked waiting
|
org.glassfish.external.statistics.StringStatistic |
getStackTrace()
Gets the the stack trace of the thread associated with this
ThreadInfo |
org.glassfish.external.statistics.CountStatistic |
getThreadId()
Gets the ID of the thread associated with this
ThreadInfo |
org.glassfish.external.statistics.StringStatistic |
getThreadName()
Gets the name of the thread associated with this
ThreadInfo |
org.glassfish.external.statistics.StringStatistic |
getThreadState()
Gets the state of the thread associated with this
ThreadInfo |
org.glassfish.external.statistics.CountStatistic |
getWaitedCount()
Gets the total number of times that the thread associated with this
ThreadInfo waited for notification |
org.glassfish.external.statistics.CountStatistic |
getWaitedTime()
Gets the approximate accumulated elapsed time that the thread associated with this
ThreadInfo
has waited for notification since thread contention monitoring is enabled |
public JVMThreadInfoStatsProvider(ThreadInfo info)
@ManagedAttribute(id="blockedcount") @Description(value="Returns the total number of times that the thread associated with this ThreadInfo blocked to enter or reenter a monitor") public org.glassfish.external.statistics.CountStatistic getBlockedCount()
CountStatistic with the number of times@ManagedAttribute(id="blockedtime") @Description(value="Returns the approximate accumulated 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") public org.glassfish.external.statistics.CountStatistic getBlockedTime()
CountStatistic with blocked time in milliseconds@ManagedAttribute(id="lockname") @Description(value="Returns the string representation of an object for which the thread associated with this ThreadInfo is blocked waiting") public org.glassfish.external.statistics.StringStatistic getLockName()
StringStatistic with the object's representation@ManagedAttribute(id="lockownerid") @Description(value="Returns the ID of the thread which owns the object for which the thread associated with this ThreadInfo is blocked waiting") public org.glassfish.external.statistics.CountStatistic getLockOwnerId()
CountStatistic with the thread ID@ManagedAttribute(id="lockownername") @Description(value="Returns the name of the thread which owns the object for which the thread associated with this ThreadInfo is blocked waiting") public org.glassfish.external.statistics.StringStatistic getLockOwnerName()
StringStatistic with the name of the lock's owner@ManagedAttribute(id="stacktrace") @Description(value="Returns the stack trace of the thread associated with this ThreadInfo") public org.glassfish.external.statistics.StringStatistic getStackTrace()
ThreadInfoStringStatistic with a command separated list of the stack trace elements@ManagedAttribute(id="threadid") @Description(value="Returns the ID of the thread associated with this ThreadInfo") public org.glassfish.external.statistics.CountStatistic getThreadId()
ThreadInfoCountStatistic with the thread id@ManagedAttribute(id="threadname") @Description(value="Returns the name of the thread associated with this ThreadInfo") public org.glassfish.external.statistics.StringStatistic getThreadName()
ThreadInfoStringStatistic with the name of this thread@ManagedAttribute(id="threadstate") @Description(value="Returns the state of the thread associated with this ThreadInfo") public org.glassfish.external.statistics.StringStatistic getThreadState()
ThreadInfoStringStatistic with the state of the thread@ManagedAttribute(id="waitedcount") @Description(value="Returns the total number of times that the thread associated with this ThreadInfo waited for notification") public org.glassfish.external.statistics.CountStatistic getWaitedCount()
ThreadInfo waited for notificationCountStatistic with the number of times@ManagedAttribute(id="waitedtime") @Description(value="Returns the approximate accumulated elapsed time (in milliseconds) that the thread associated with this ThreadInfo has waited for notification since thread contention monitoring is enabled") public org.glassfish.external.statistics.CountStatistic getWaitedTime()
ThreadInfo
has waited for notification since thread contention monitoring is enabledCountStatistic with the time in millisecondsCopyright © 2019. All rights reserved.