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. 

NameDescriptionRequiredInternal 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

NameTypeDescriptionInternal Name
Thread CountmeasurementThe current number of live threads including both daemon and non-daemon threads.thread-count
Peak Thread CountmeasurementThe peak live thread count since the Java virtual machine started or peak was reset.peak-thread-count
Total Started Thread CountmeasurementThe total number of threads created and also started since the Java virtual machine started.total-started-thread-count
Daemon Thread CountmeasurementThe current number of live daemon threads.daemon-thread-count
Current Thread Cpu TimemeasurementThe 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 TimemeasurementThe 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. 

NameDescriptionRequiredInternal Name
Thread Contention Monitoring EnabledWhether thread contention monitoring is enabled. no thread-contention-monitoring-enabled
Thread Cpu Time EnabledWhether thread CPU time measurement is enabled. no thread-cpu-time-enabled
Thread Contention Monitoring SupportedWhether the Java virtual machine supports thread contention monitoring. no thread-contention-monitoring-supported
Thread Cpu Time SupportedWhether the Java virtual machine implementation supports CPU time measurement for any thread. no thread-cpu-time-supported
Current Thread Cpu Time SupportedWhether the Java virtual machine supports CPU time measurement for the current thread. no current-thread-cpu-time-supported
Object Monitor Usage SupportedWhether the Java virtual machine supports monitoring of object monitor usage. no object-monitor-usage-supported
Synchronizer Usage SupportedWhether 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

NameDescription
Dump All ThreadsReturns the thread info for all live threads with stack trace and synchronization information.
Find Deadlocked ThreadsFinds cycles of threads that are in deadlock waiting to acquire object monitors or ownable synchronizers.
Find Monitor Deadlocked ThreadsFinds cycles of threads that are in deadlock waiting to acquire object monitors.
Get Thread Cpu TimeReturns the total CPU time for a thread of the specified ID in nanoseconds.
Get Thread InfoReturns 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 InfosReturns the thread info for each thread whose ID is in the input list.
Get Thread User TimeReturns the CPU time that a thread of the specified ID has executed in user mode in nanoseconds.
Reset Peak Thread CountResets the peak thread count to the current number of live threads.
Get All thread idsGet all live thread IDs. If a security manager is installed and the caller does not have ManagementPermission('monitor'), the result will be undefined.
Package Types
none