public enum PauserMode extends Enum<PauserMode> implements Supplier<Pauser>
Pauser is not an enum, and implementations are not Marshallable, this makes Pausers more yaml friendly| Modifier and Type | Method and Description |
|---|---|
static PauserMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PauserMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PauserMode balanced
public static final PauserMode busy
public static final PauserMode yielding
public static final PauserMode sleepy
public static PauserMode[] values()
for (PauserMode c : PauserMode.values()) System.out.println(c);
public static PauserMode 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 nullCopyright © 2020. All rights reserved.