Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.3.2.4. JBoss AS 7 and EAP 6 - Threading Service

Overview

Table 3.282. Overview

Description:
Singleton: no
Plugin: JBossAS7
Child Resource Types
none
Connection Properties

Table 3.283. 

Name Description Required Internal Name
Path yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics

Table 3.284. Metrics

Name Type Description Internal Name
Thread Count measurement The current number of live threads including both daemon and non-daemon threads. thread-count
Peak Thread Count measurement The peak live thread count since the Java virtual machine started or peak was reset. peak-thread-count
Total Started Thread Count measurement The total number of threads created and also started since the Java virtual machine started. total-started-thread-count
Daemon Thread Count measurement The current number of live daemon threads. daemon-thread-count
Current Thread Cpu Time measurement The total CPU time for the current thread in nanoseconds, or -1 if 'thread-cpu-time-enabled' is 'false'. A Java virtual machine implementation may not support CPU time measurement. If 'thread-cpu-time-supported', is 'false' undefined. current-thread-cpu-time
Current Thread User Time measurement The CPU time that the current thread has executed in user mode in nanoseconds, or -1 if 'thread-cpu-time-enabled' is 'false'. A Java virtual machine implementation may not support CPU time measurement. If 'thread-cpu-time-supported', is 'false' the result will be undefined current-thread-user-time

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.
Configuration Properties

Table 3.285. 

Name Description Required Internal Name
Thread Contention Monitoring Enabled Whether thread contention monitoring is enabled. no thread-contention-monitoring-enabled
Thread Cpu Time Enabled Whether thread CPU time measurement is enabled. no thread-cpu-time-enabled
All Thread Ids All live thread IDs. If a security manager is installed and the caller does not have ManagementPermission('monitor'), the result will be undefined. yes all-thread-ids
Thread Contention Monitoring Supported Whether the Java virtual machine supports thread contention monitoring. no thread-contention-monitoring-supported
Thread Cpu Time Supported Whether the Java virtual machine implementation supports CPU time measurement for any thread. no thread-cpu-time-supported
Current Thread Cpu Time Supported Whether the Java virtual machine supports CPU time measurement for the current thread. no current-thread-cpu-time-supported
Object Monitor Usage Supported Whether the Java virtual machine supports monitoring of object monitor usage. no object-monitor-usage-supported
Synchronizer Usage Supported Whether the Java virtual machine supports monitoring of ownable synchronizer usage. no synchronizer-usage-supported

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations

Table 3.286. Metrics

Name Description
Dump All Threads Returns the thread info for all live threads with stack trace and synchronization information.
Find Deadlocked Threads Finds cycles of threads that are in deadlock waiting to acquire object monitors or ownable synchronizers.
Find Monitor Deadlocked Threads Finds cycles of threads that are in deadlock waiting to acquire object monitors.
Get Thread Cpu Time Returns the total CPU time for a thread of the specified ID in nanoseconds.
Get Thread Info Returns the thread info for a thread of the specified id. The stack trace, locked monitors, and locked synchronizers in the returned reply object will be empty.
Get Thread Infos Returns the thread info for each thread whose ID is in the input list.
Get Thread User Time Returns the CPU time that a thread of the specified ID has executed in user mode in nanoseconds.
Reset Peak Thread Count Resets the peak thread count to the current number of live threads.
Package Types
none