getThreadInfo
The getThreadInfo method returns general thread information, execution information, and synchronization statistics of a specific thread or all threads of a particular JVM.
Type
Open, Synchronous, IMPACT_INFO.
Arguments
| Name | Type | Description |
|---|---|---|
| Thread Name | String | Returns the name of the thread. |
Returns
Type: COM.TIBCO.hawk.talon.TabularData
| Name | Type | Description |
|---|---|---|
| Thread Name | String | The name of the thread |
| Thread Id | Long | The ID of the thread |
| Thread State | String | The state of the thread |
| User Time | Long | CPU time spent by the thread in user mode in nanoseconds |
| isInNative | Boolean | Specifies whether it is running native code through the Java Native Interface (JNI) |
| Suspended | Boolean | Specifies whether the thread is suspended |
| Blocked Count | Long | The total number of attempts that the thread is blocked to enter or re-enter a monitor |
| Blocked Time | String | The approximate accumulated elapsed time (in milliseconds) that the thread has blocked to enter or re-enter a monitor since the enabling of thread contention monitoring |
| Lock Name | String | The string representation of the monitor lock that the thread is blocked to enter or waiting to be notified |
| Lock Owner Name | String | The thread name that holds the monitor lock of an object on which the thread is blocked |
| Lock Owner Id | Long | The thread ID that holds the monitor lock of an object on which the thread is blocked |
| Waited Count | Long | The total count of the number of times the thread waited for notification |
| Waited Time | Long | The approximate accumulated elapsed time (in milliseconds) that the thread has waited for notification since the enabling of thread contention monitoring |
| Uncaught Exception | String | Uncaught exception of the thread |
| Stack Trace | String | Displays stack trace when an exception was thrown |