|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jso.util.ThreadsJoiner
An object that allows a collective join of joiner threads.
Constructor Summary | |
ThreadsJoiner()
|
Method Summary | |
void |
add(JoinerThread thread)
Adds a thread to joiner. |
void |
join()
Waits for all threads to die. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadsJoiner()
Method Detail |
public void add(JoinerThread thread)
thread
- One of the threads to be part of the join.public void join()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |