com.caucho.management.server
Interface ThreadPoolMXBean

All Superinterfaces:
ManagedObjectMXBean
All Known Implementing Classes:
ThreadPoolAdmin

public interface ThreadPoolMXBean
extends ManagedObjectMXBean

Management interface for the thread pool.

 resin:type=ThreadPool
 


Method Summary
 int getThreadActiveCount()
          Returns the current number of active threads.
 int getThreadCount()
          Returns the current number of threads.
 int getThreadExecutorMax()
          Returns the maximum number of executor threads.
 int getThreadIdleCount()
          Returns the current number of idle threads.
 int getThreadIdleMax()
          Returns the maximum number of idle threads.
 int getThreadIdleMin()
          Returns the minimum number of idle threads.
 int getThreadMax()
          Returns the maximum number of threads.
 int getThreadPriorityMin()
          Returns the priority thread gap
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getThreadMax

int getThreadMax()
Returns the maximum number of threads.


getThreadExecutorMax

int getThreadExecutorMax()
Returns the maximum number of executor threads.


getThreadPriorityMin

int getThreadPriorityMin()
Returns the priority thread gap


getThreadIdleMin

int getThreadIdleMin()
Returns the minimum number of idle threads.


getThreadIdleMax

int getThreadIdleMax()
Returns the maximum number of idle threads.


getThreadCount

int getThreadCount()
Returns the current number of threads.


getThreadActiveCount

int getThreadActiveCount()
Returns the current number of active threads.


getThreadIdleCount

int getThreadIdleCount()
Returns the current number of idle threads.