public class WaitUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
sleep(long millis)
Sleep a bit
|
static long |
wait(int wait,
Callable<Void> callable) |
static long |
wait(int maxWait,
Iterable<WaitChecker> checkers) |
static long |
wait(int maxWait,
WaitChecker... checkers) |
public static long wait(int wait,
Callable<Void> callable)
throws ExecutionException,
WaitTimeoutException
public static long wait(int maxWait,
WaitChecker... checkers)
throws WaitTimeoutException
WaitTimeoutExceptionpublic static long wait(int maxWait,
Iterable<WaitChecker> checkers)
throws WaitTimeoutException
WaitTimeoutExceptionpublic static void sleep(long millis)
millis - how long to sleep in millisecondsCopyright © 2017. All rights reserved.