@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class ExecutionTypeRequest extends Object implements Comparable<ExecutionTypeRequest>
ExecutionType
as well as flag that explicitly asks the
configuredScheduler to return Containers of exactly the Execution Type
requested.Constructor and Description |
---|
ExecutionTypeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
abstract boolean |
getEnforceExecutionType()
Get whether Scheduling Authority should return Containers of exactly the
Execution Type requested for this
ResourceRequest . |
abstract ExecutionType |
getExecutionType()
Get
ExecutionType . |
int |
hashCode() |
static ExecutionTypeRequest |
newInstance() |
static ExecutionTypeRequest |
newInstance(ExecutionType execType) |
static ExecutionTypeRequest |
newInstance(ExecutionType execType,
boolean ensureExecutionType) |
abstract void |
setEnforceExecutionType(boolean enforceExecutionType)
Set to true to explicitly ask that the Scheduling Authority return
Containers of exactly the Execution Type requested.
|
abstract void |
setExecutionType(ExecutionType execType)
Set the
ExecutionType of the requested container. |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compareTo
@InterfaceAudience.Public @InterfaceStability.Evolving public static ExecutionTypeRequest newInstance()
@InterfaceAudience.Public @InterfaceStability.Evolving public static ExecutionTypeRequest newInstance(ExecutionType execType)
@InterfaceAudience.Public @InterfaceStability.Evolving public static ExecutionTypeRequest newInstance(ExecutionType execType, boolean ensureExecutionType)
@InterfaceAudience.Public public abstract void setExecutionType(ExecutionType execType)
ExecutionType
of the requested container.execType
- ExecutionType of the requested container@InterfaceAudience.Public public abstract ExecutionType getExecutionType()
ExecutionType
.ExecutionType
.@InterfaceAudience.Public public abstract void setEnforceExecutionType(boolean enforceExecutionType)
enforceExecutionType
- whether ExecutionType request should be
strictly honored.@InterfaceAudience.Public public abstract boolean getEnforceExecutionType()
ResourceRequest
.
Defaults to false.Copyright © 2024 Apache Software Foundation. All rights reserved.