com.sun.enterprise.admin.monitor.stats
Interface PWCThreadPoolStats

All Superinterfaces:
Stats

public interface PWCThreadPoolStats
extends Stats

Returns the statistical information associated with the HttpService thread pool


Method Summary
 CountStatistic getCountQueued()
          Returns the current number of requests waiting for a native thread
 CountStatistic getCountThreads()
          Returns current number of threads
 CountStatistic getCountThreadsIdle()
          Returns the number of threads that are currently idle
 StringStatistic getId()
          Returns the thread pool Id
 CountStatistic getMaxQueued()
          Returns the maximum number of requests that can be queued at one time to wait for a native thread
 CountStatistic getMaxThreads()
          Returns the maximum number of native threads allowed in the thread pool
 CountStatistic getPeakQueued()
          Returns the highest number of requests that were ever queued up simultaneously for the use of a native thread since the server was started
 
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getId

StringStatistic getId()
Returns the thread pool Id

Returns:
id

getCountThreadsIdle

CountStatistic getCountThreadsIdle()
Returns the number of threads that are currently idle

Returns:
idle threads

getCountThreads

CountStatistic getCountThreads()
Returns current number of threads

Returns:
current threads

getMaxThreads

CountStatistic getMaxThreads()
Returns the maximum number of native threads allowed in the thread pool

Returns:
max number of threads allowed

getCountQueued

CountStatistic getCountQueued()
Returns the current number of requests waiting for a native thread

Returns:
queued requests

getPeakQueued

CountStatistic getPeakQueued()
Returns the highest number of requests that were ever queued up simultaneously for the use of a native thread since the server was started


getMaxQueued

CountStatistic getMaxQueued()
Returns the maximum number of requests that can be queued at one time to wait for a native thread

Returns:
max number of request to be queued


Copyright © 2012. All Rights Reserved.