|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectibis.util.ThreadPool
Method Summary | |
static void |
createNew(java.lang.Runnable runnable,
java.lang.String name)
Associates a thread from the ThreadPool with the
specified Runnable . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void createNew(java.lang.Runnable runnable, java.lang.String name)
ThreadPool
with the
specified Runnable
. If no thread is available, a new one
is created. When the Runnable
is finished, the thread is
added to the pool of available threads.
runnable
- the Runnable
to be executed.name
- set the thread name for the duration of this run
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |