Interface PWCThreadPoolStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountStatisticgetCountQueued()Returns the current number of requests waiting for a native threadCountStatisticgetCountThreads()Returns current number of threadsCountStatisticgetCountThreadsIdle()Returns the number of threads that are currently idleStringStatisticgetId()Returns the thread pool IdCountStatisticgetMaxQueued()Returns the maximum number of requests that can be queued at one time to wait for a native threadCountStatisticgetMaxThreads()Returns the maximum number of native threads allowed in the thread poolCountStatisticgetPeakQueued()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
-
-