public class Sleeper extends Object
| Constructor and Description |
|---|
Sleeper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sleep(long millis)
Sleep the given milliseconds, swallowing the exception
|
static void |
sleep(String humanTime)
Sleep a given time (time is parsed with HumanTime)
|
public static void sleep(String humanTime)
humanTime - The time in a format such as 30m10s10mspublic static void sleep(long millis)
millis - time in millisecondsCopyright © 2017. All rights reserved.