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.
 long getThreadCreateCountTotal()
          Returns the total number of started 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.
 long getThreadOverflowCountTotal()
          Returns the total number of overflow threads.
 int getThreadPriorityMin()
          Returns the priority thread gap
 int getThreadPriorityQueueSize()
          Returns the thread priority queue size
 int getThreadStartingCount()
          Returns the current number of starting threads.
 int getThreadTaskQueueSize()
          Returns the thread task queue size
 int getThreadWaitCount()
          Returns the current number of waiting schedule threads.
 
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.


getThreadStartingCount

int getThreadStartingCount()
Returns the current number of starting threads.


getThreadIdleCount

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


getThreadWaitCount

int getThreadWaitCount()
Returns the current number of waiting schedule threads.


getThreadCreateCountTotal

long getThreadCreateCountTotal()
Returns the total number of started threads.


getThreadOverflowCountTotal

long getThreadOverflowCountTotal()
Returns the total number of overflow threads.


getThreadPriorityQueueSize

int getThreadPriorityQueueSize()
Returns the thread priority queue size


getThreadTaskQueueSize

int getThreadTaskQueueSize()
Returns the thread task queue size