public class WaitUtil extends Object
Constructor and Description |
---|
WaitUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
wait(int seconds)
Causes the current thread to waits for a given number of seconds.
|
static void |
waitMs(long milliseconds)
Causes the current thread to waits for a given number of milliseconds.
|
public static void wait(int seconds)
seconds
- - the number of seconds to waitpublic static void waitMs(long milliseconds)
milliseconds
- - the number of milliseconds to waitCopyright © 2009–2015 DuraSpace. All rights reserved.