Interface PWCThreadPoolStats
- All Superinterfaces:
Stats
Returns the statistical information associated with
the HttpService thread pool
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current number of requests waiting for a native threadReturns current number of threadsReturns the number of threads that are currently idlegetId()Returns the thread pool IdReturns the maximum number of requests that can be queued at one time to wait for a native threadReturns the maximum number of native threads allowed in the thread poolReturns the highest number of requests that were ever queued up simultaneously for the use of a native thread since the server was startedMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
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
-