Package org.duracloud.common.util
Class WaitUtil
- java.lang.Object
-
- org.duracloud.common.util.WaitUtil
-
public class WaitUtil extends Object
A utility that provides a simple wait- Author:
- Bill Branan Date: 7/19/13
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwait(int seconds)Causes the current thread to waits for a given number of seconds.static voidwaitMs(long milliseconds)Causes the current thread to waits for a given number of milliseconds.
-
-
-
Method Detail
-
wait
public static void wait(int seconds)
Causes the current thread to waits for a given number of seconds.- Parameters:
seconds- - the number of seconds to wait
-
waitMs
public static void waitMs(long milliseconds)
Causes the current thread to waits for a given number of milliseconds.- Parameters:
milliseconds- - the number of milliseconds to wait
-
-