@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|
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
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 name
NullPointerException- if the argument is null
Copyright © 2023 Apache Software Foundation. All rights reserved.