public class Wait extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Wait.Condition |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_WAIT_MILLIS |
static int |
SLEEP_MILLIS |
| Constructor and Description |
|---|
Wait() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
waitFor(Wait.Condition condition) |
static boolean |
waitFor(Wait.Condition condition,
long duration) |
static boolean |
waitFor(Wait.Condition condition,
long duration,
long sleepMillis) |
public static final long MAX_WAIT_MILLIS
public static final int SLEEP_MILLIS
public static boolean waitFor(Wait.Condition condition) throws Exception
Exceptionpublic static boolean waitFor(Wait.Condition condition, long duration) throws Exception
Exceptionpublic static boolean waitFor(Wait.Condition condition, long duration, long sleepMillis) throws Exception
ExceptionCopyright © 2023 The Apache Software Foundation. All Rights Reserved.