|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.metasyntactic.thread.Monitor
This class exists because I am a bad programmer. This is the purpose of the class (if there's a better way to do this e-mail me the correct solution). This class allows threads to go to sleep, and then be woken up later. It allows a ton a threads to to cooridinate their activities together.
Constructor Summary | |
Monitor()
|
Method Summary | |
void |
sleep()
|
void |
wakeUp()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Monitor()
Method Detail |
public void sleep() throws java.lang.InterruptedException
java.lang.InterruptedException
public void wakeUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |