|
||||||||||
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
InterruptedException
- if interrupted
boolean await(long time, TimeUnit unit) throws InterruptedException
time
- the amount to wait.unit
- the unit to wait in.
InterruptedException
- if interrupted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |