public interface Waitable<T,P>
| Modifier and Type | Method and Description |
|---|---|
T |
waitUntilCondition(Predicate<P> condition,
long amount,
TimeUnit timeUnit)
Wait for the given condition to be true.
|
T |
waitUntilReady(long amount,
TimeUnit timeUnit) |
T waitUntilCondition(Predicate<P> condition, long amount, TimeUnit timeUnit)
The processing of events will be in the IO thread, blocking operations should be avoided.
condition - amount - timeUnit - Copyright © 2015–2022 Red Hat. All rights reserved.