public enum NodeSelectionStrategy extends Enum<NodeSelectionStrategy>
| Enum Constant and Description |
|---|
HARD_AFFINITY |
NO_PREFERENCE |
SOFT_AFFINITY |
| Modifier and Type | Method and Description |
|---|---|
static NodeSelectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeSelectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeSelectionStrategy HARD_AFFINITY
public static final NodeSelectionStrategy SOFT_AFFINITY
public static final NodeSelectionStrategy NO_PREFERENCE
public static NodeSelectionStrategy[] values()
for (NodeSelectionStrategy c : NodeSelectionStrategy.values()) System.out.println(c);
public static NodeSelectionStrategy 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 © 2012–2022. All rights reserved.