|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.test.threadServices.InnerRunnable
public class InnerRunnable
This class is a Runnable used just for tests.
Constructor Summary | |
---|---|
InnerRunnable(java.lang.Object toNotify,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
void |
run()
Prints 10 messages and notifies the threads waiting on toNotify object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InnerRunnable(java.lang.Object toNotify, java.lang.String name)
toNotify
- The object to be notified.name
- A string to be used in a thread related to this runnable.Method Detail |
---|
public void run()
toNotify
object.
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |