|
||||||||||
| 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,
TimeUnit unit)
Await for the specified time for the condition to become true. |
| Method Detail |
|---|
void await()
throws InterruptedException
{@link - InterruptedException} if interrupted
InterruptedException
boolean await(long time,
TimeUnit unit)
throws InterruptedException
time - the amount to wait.unit - the unit to wait in.
{@link - InterruptedException} if interrupted
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||