|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.objectweb.proactive.core.group.threadpool.ThreadInThePool
The threads that compose a thread pool.
Field Summary | |
protected static int |
counter
|
ThreadPool |
myPool
The threadpool owner of this thread. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ThreadInThePool(ThreadPool o)
The constructor associates the thread with a thread pool. |
Method Summary | |
protected static int |
getNextValue()
|
void |
run()
Looks for a pending job and executes it. |
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 |
Field Detail |
protected static int counter
public ThreadPool myPool
Constructor Detail |
public ThreadInThePool(ThreadPool o)
o
- the thread poolMethod Detail |
protected static int getNextValue()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |