@InterfaceStability.Evolving public class ThreadUtil extends Object
| Constructor and Description |
|---|
ThreadUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
sleepAtLeastIgnoreInterrupts(long millis)
Cause the current thread to sleep as close as possible to the provided
number of milliseconds.
|
public static void sleepAtLeastIgnoreInterrupts(long millis)
InterruptedException encountered.millis - the number of milliseconds for the current thread to sleepCopyright © 2022 Apache Software Foundation. All rights reserved.