|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.web.ThreadPool
A simple thread pool. Rickard 锟絙erg
Constructor Summary | |
ThreadPool()
Create a new pool. |
Method Summary | |
void |
disable()
|
void |
enable()
|
void |
run(Runnable work)
Do some work. |
void |
setMaximumSize(int size)
Set the maximum number of idle threads cached in this pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadPool()
Method Detail |
public void enable()
public void disable()
public void setMaximumSize(int size)
public void run(Runnable work)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |