public class ThreadUtils extends Object
| Constructor and Description |
|---|
ThreadUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sleep(TimeUnit timeUnit,
int time)
sleep current thread.
|
public static void sleep(TimeUnit timeUnit, int time)
timeUnit - the time unittime - the timeCopyright © 2021 The Apache Software Foundation. All rights reserved.