|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Awaitable
Something that can be awaited upon.
| Method Summary | |
|---|---|
void |
await()
Await for the condition to become true. |
boolean |
await(long time,
java.util.concurrent.TimeUnit unit)
Await for the specified time for the condition to become true. |
| Method Detail |
|---|
void await()
throws java.lang.InterruptedException
java.lang.InterruptedException
boolean await(long time,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
time - the amount to wait.unit - the unit to wait in.
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||