Oracle GlassFish Server 3.0.1 Administration Guide

Thread Pool Monitoring Statistics

Use the following dotted name pattern for thread pool statistics:

server.thread-pool.thread-pool.statistic

The statistics available for the thread pool are shown in the following table.

Table 8–33 Thread Pool Monitoring Statistics

Statistic 

Data Type 

Description 

averagetimeinqueue

BoundedRangeStatistic 

Average amount of time (in milliseconds) a request waited in the queue before being processed 

averageworkcompletiontime

BoundedRangeStatistic 

Average amount of time (in milliseconds) taken to complete an assignment 

currentbusythreads

CountStatistic 

Number of busy threads 

currentnumberofthreads

BoundedRangeStatistic 

Current number of request processing threads 

numberofavailablethreads

CountStatistic 

Number of available threads 

numberofworkitemsinqueue

BoundedRangeStatistic 

Current number of work items waiting in queue 

totalworkitemsadded

CountStatistic 

Total number of work items added to the work queue as of last sampling