|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.dmonix.thread.PooledThread
The thread used in the pool.
Copyright: Copyright (c) 2003
Company: dmonix.org
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
(package private) |
PooledThread(ThreadPool pool,
java.lang.String name)
|
| Method Summary | |
void |
execute()
Allows for this thread to execute its Runnable object once by releasing the mutex lock. |
void |
run()
The thread is immediately put on a mutex wait. |
void |
setRunnable(java.lang.Runnable runnable)
Sets the Runnable object to run. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
PooledThread(ThreadPool pool,
java.lang.String name)
| Method Detail |
public void execute()
public void setRunnable(java.lang.Runnable runnable)
runnable - public void run()
execute method is invoked.
run
method on the Runnable object.
setRunnable(Runnable),
execute
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||