public interface Awaitable
| Modifier and Type | Method and Description |
|---|---|
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.
|
void await()
throws InterruptedException
InterruptedExceptionboolean await(long time,
TimeUnit unit)
throws InterruptedException
time - the amount to wait.unit - the unit to wait in.InterruptedExceptionCopyright © 2017 Atlassian. All rights reserved.