public enum SchedulingMode extends Enum<SchedulingMode>
| Enum Constant and Description | 
|---|
| IGNORE_PARTITION_EXCLUSIVITYOnly used when a node has partition AND the partition isn't an exclusive
 partition AND application requires non-partitioned resource. | 
| RESPECT_PARTITION_EXCLUSIVITY
 When a node has partition (say partition=x), only application in the queue
 can access to partition=x AND requires for partition=x resource can get
 chance to allocate on the node. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SchedulingMode | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SchedulingMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SchedulingMode RESPECT_PARTITION_EXCLUSIVITY
When a node has partition (say partition=x), only application in the queue can access to partition=x AND requires for partition=x resource can get chance to allocate on the node.
When a node has no partition, only application requires non-partitioned resource can get chance to allocate on the node.
public static final SchedulingMode IGNORE_PARTITION_EXCLUSIVITY
public static SchedulingMode[] values()
for (SchedulingMode c : SchedulingMode.values()) System.out.println(c);
public static SchedulingMode 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 © 2008–2023 Apache Software Foundation. All rights reserved.