public class Waiter extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Waiter.Condition |
| Constructor and Description |
|---|
Waiter() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
waitFor(Waiter.Condition condition,
TimeUnit unit,
long timeout,
TimeUnit parkUnit,
long parkTime)
This method will wait for the condition.result to be true or a timeout has ocurred.
|
public static boolean waitFor(Waiter.Condition condition, TimeUnit unit, long timeout, TimeUnit parkUnit, long parkTime)
Copyright © 2022 The Apache Software Foundation. All rights reserved.