Package org.duracloud.common.util
Class WaitUtil
java.lang.Object
org.duracloud.common.util.WaitUtil
A utility that provides a simple wait
- Author:
- Bill Branan Date: 7/19/13
-
Method Summary
-
Method Details
-
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
-