public interface: ThreadPoolStats
All Implemented Interfaces:
All Known Implementing Classes:
Statistics expected for a Thread Pool implementation
$ - Rev: 476049 $ $Date: 2006-11-16 20:35:17 -0800 (Thu, 16 Nov 2006) $
|Method from org.apache.geronimo.management.geronimo.stats.ThreadPoolStats Detail:|
public 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.
public String getThreadConsumers()
Gets a list of the known consumers of threads from this pool. This may
not be all consumers, because they won't necessarily identify themselves,
but it's a start when tracking down what's using threads in a pool.
public BoundedRangeStatistic getThreadsInUse()
Gets the min and max pool size, as well as the most, least, and current
number of threads in use.