|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThreadPoolStats
Statistics expected for a Thread Pool implementation
| Method Summary | |
|---|---|
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. |
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 |
|---|
BoundedRangeStatistic getThreadsInUse()
String[] getThreadConsumers()
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 | |||||||||