Sun GlassFish Enterprise Server 2.1 Administration Guide

Thread Pools Statistics

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

Table 18–14 Thread Pool Statistics

Statistic 

Units 

Data Type 

Description 

averagetimeinqueue

Milliseconds 

RangeStatistic 

The average amount of time in milliseconds a request waited in the queue before getting processed. 

averageworkcompletion-time

Milliseconds 

RangeStatistic 

The average amount of time taken to complete an assignment, in milliseconds. 

currentnumberofthreads

Number 

BoundedRangeStatistic 

Current number of request processing threads. 

numberofavailablethreads

Number 

CountStatistic 

The number of threads that are available. 

numberofbusythreads

Number 

CountStatistic 

The number of threads that are busy. 

totalworkitemsadded

Number 

CountStatistic 

The total number of work items added so far to the work queue.