public class PlacementPolicy extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ANTI_AFFINITY_REQUIRED
Anti-affinity is mandatory.
|
static int |
DEFAULT
Default value: history used, anti-affinity hinted at on rebuild/flex up
|
static int |
EXCLUDE_FROM_FLEXING
Exclude from flexing; used internally to mark AMs.
|
static int |
NO_DATA_LOCALITY
No data locality; do not use placement history
|
static int |
NONE
Default value: history used, anti-affinity hinted at on rebuild/flex up
|
static int |
STRICT
Strict placement: when asking for an instance for which there is
history, mandate that it is strict
|
| Constructor and Description |
|---|
PlacementPolicy() |
public static final int NONE
public static final int DEFAULT
public static final int STRICT
public static final int NO_DATA_LOCALITY
public static final int ANTI_AFFINITY_REQUIRED
public static final int EXCLUDE_FROM_FLEXING
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.