public enum PlacementPolicyOptions extends Enum<PlacementPolicyOptions>
| Enum Constant and Description |
|---|
ANTI_AFFINITY_REQUIRED |
EXCLUDE_FROM_FLEXING |
NO_DATA_LOCALITY |
| Modifier and Type | Method and Description |
|---|---|
static PlacementPolicyOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementPolicyOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementPolicyOptions EXCLUDE_FROM_FLEXING
public static final PlacementPolicyOptions NO_DATA_LOCALITY
public static final PlacementPolicyOptions ANTI_AFFINITY_REQUIRED
public static PlacementPolicyOptions[] values()
for (PlacementPolicyOptions c : PlacementPolicyOptions.values()) System.out.println(c);
public static PlacementPolicyOptions 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 © 2014–2015 The Apache Software Foundation. All rights reserved.