| Constructor and Description |
|---|
AwaitForSignal(Object name) |
| Modifier and Type | Method and Description |
|---|---|
void |
await()
The same as
Condition.await() |
boolean |
await(long time,
TimeUnit unit)
The same as
Condition.await(long, TimeUnit) |
void |
signal()
The same as
Condition.signal() |
String |
toString() |
public AwaitForSignal(Object name)
public void await()
throws InterruptedException
Condition.await()InterruptedExceptionpublic boolean await(long time,
TimeUnit unit)
throws InterruptedException
Condition.await(long, TimeUnit)InterruptedExceptionpublic void signal()
Condition.signal()Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.