@InterfaceAudience.Public @InterfaceStability.Evolving public enum ExecutionType extends Enum<ExecutionType>
The execution types are the following:
GUARANTEED
- this container is guaranteed to start its
execution, once the corresponding start container request is received by
an NM.
OPPORTUNISTIC
- the execution of this container may not start
immediately at the NM that receives the corresponding start container
request (depending on the NM's available resources). Moreover, it may be
preempted if it blocks a GUARANTEED container from being executed.
Enum Constant and Description |
---|
GUARANTEED |
OPPORTUNISTIC |
Modifier and Type | Method and Description |
---|---|
static ExecutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionType GUARANTEED
public static final ExecutionType OPPORTUNISTIC
public static ExecutionType[] values()
for (ExecutionType c : ExecutionType.values()) System.out.println(c);
public static ExecutionType 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 © 2024 Apache Software Foundation. All rights reserved.