|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.ruv.WaitUntil
The class provides different ways to stop the current execution until a condition is met. Use one of the constructors to start the wait.
| Constructor Summary | |
WaitUntil(ACARuntime r)
The execution is blocked (on itself) until the runtime finishes all the events. |
|
WaitUntil(ACARuntime r,
double stopAt)
The execution is blocked (on itself) until the runtime stops (at the time specified). |
|
WaitUntil(ACARuntime r,
double stopAt,
java.lang.Object lock_)
The execution is blocked (on lock) until the runtime stops (at the time specified). |
|
WaitUntil(ACARuntime r,
java.lang.Object lock_)
The execution is blocked (on lock) until the runtime finishes all the events. |
|
WaitUntil(Shell shell_,
java.lang.String cmd_)
The execution is blocked (on the shell) until the command (interpreted by the shell) returns an affirmative result. |
|
WaitUntil(Shell shell_,
java.lang.String cmd_,
java.lang.Object lock_)
The execution is blocked (on lock) until the command (interpreted by the shell) returns an affirmative result. |
|
| Method Summary | |
void |
run()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WaitUntil(ACARuntime r,
double stopAt)
throws java.lang.InterruptedException
public WaitUntil(ACARuntime r,
double stopAt,
java.lang.Object lock_)
throws java.lang.InterruptedException
public WaitUntil(ACARuntime r)
throws java.lang.InterruptedException
public WaitUntil(ACARuntime r,
java.lang.Object lock_)
throws java.lang.InterruptedException
public WaitUntil(Shell shell_,
java.lang.String cmd_)
throws java.lang.InterruptedException
public WaitUntil(Shell shell_,
java.lang.String cmd_,
java.lang.Object lock_)
throws java.lang.InterruptedException
| Method Detail |
public void run()
run in interface java.lang.Runnable
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||