public enum ThreadUtil extends Enum<ThreadUtil>
| Modifier and Type | Method and Description |
|---|---|
static void |
pause(long timeInMillis)
Pause interruptibly
|
static ThreadUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ThreadUtil[] values()
for (ThreadUtil c : ThreadUtil.values()) System.out.println(c);
public static ThreadUtil valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void pause(long timeInMillis)
Because we don't depend on chronicle-core, we don't have Jvm.pause(...)
timeInMillis - The amount of time to pause for in millisecondsCopyright © 2023. All rights reserved.