|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.management.server.AbstractManagedObject
com.caucho.server.resin.ThreadPoolAdmin
public class ThreadPoolAdmin
| Method Summary | |
|---|---|
static ThreadPoolAdmin |
create()
The registration needs to be controlled externally to make the timing work correctly. |
java.lang.String |
getName()
The thread pool is unique so it doesn't have a name. |
int |
getThreadActiveCount()
Returns the current number of active threads. |
int |
getThreadCount()
Returns the total 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 minimum number of saved priority threads. |
void |
register()
|
void |
unregister()
|
| Methods inherited from class com.caucho.management.server.AbstractManagedObject |
|---|
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean |
|---|
getObjectName, getType |
| Method Detail |
|---|
public static ThreadPoolAdmin create()
public java.lang.String getName()
getName in interface ManagedObjectMXBeangetName in class AbstractManagedObjectpublic int getThreadMax()
getThreadMax in interface ThreadPoolMXBeanpublic int getThreadExecutorMax()
getThreadExecutorMax in interface ThreadPoolMXBeanpublic int getThreadIdleMin()
getThreadIdleMin in interface ThreadPoolMXBeanpublic int getThreadIdleMax()
getThreadIdleMax in interface ThreadPoolMXBeanpublic int getThreadPriorityMin()
getThreadPriorityMin in interface ThreadPoolMXBeanpublic int getThreadCount()
getThreadCount in interface ThreadPoolMXBeanpublic int getThreadActiveCount()
getThreadActiveCount in interface ThreadPoolMXBeanpublic int getThreadIdleCount()
getThreadIdleCount in interface ThreadPoolMXBeanpublic void register()
public void unregister()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||