|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Statistics expected for a Thread Pool implementation
Method Summary | |
javax.management.j2ee.statistics.CountStatistic |
getCountForConsumer(String consumer)
For each consumer listed by getThreadConsumers(), this can be used to find out how many threads that consumer is consuming at the time these statistics were generated. |
String[] |
getThreadConsumers()
Gets a list of the known consumers of threads from this pool. |
javax.management.j2ee.statistics.BoundedRangeStatistic |
getThreadsInUse()
Gets the min and max pool size, as well as the most, least, and current number of threads in use. |
Methods inherited from interface javax.management.j2ee.statistics.Stats |
getStatistic, getStatisticNames, getStatistics |
Method Detail |
public javax.management.j2ee.statistics.BoundedRangeStatistic getThreadsInUse()
public String[] getThreadConsumers()
public javax.management.j2ee.statistics.CountStatistic getCountForConsumer(String consumer)
consumer
- The consumer you're inquiring about
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |