|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.group.threadpool.EndControler
This object is used by a thread pool to control the termination of the jobs. A member of the ThreadPool class uses this object as a lock and perfoms wait call.
Constructor Summary | |
EndControler()
|
Method Summary | |
void |
jobFinish()
A ThreadInThePool object calls this method to indicate it has finished a job. |
void |
jobStart()
A ThreadInThePool object calls this method to indicate it has started a job. |
void |
reset()
Resets the controler to its initial state (no job awake). |
void |
waitDone()
Suspends the current thread until all the pending jobs in the ThreadPool are done. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EndControler()
Method Detail |
public void waitDone()
public void jobStart()
public void jobFinish()
public void reset()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |