public class ConcurrentUtil extends Object
Constructor and Description |
---|
ConcurrentUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
await(Condition condition,
long timeout)
Await for condition, handling
spurious wakeups.
|
public static boolean await(Condition condition, long timeout) throws InterruptedException
condition
- condition to await fortimeout
- the maximum time to wait in millisecondsCondition.await(long, TimeUnit)
InterruptedException
Copyright © 2017 JBoss by Red Hat. All rights reserved.