java.lang.Comparable<ExecutionTypeRequest>@Public @Evolving public abstract class ExecutionTypeRequest extends java.lang.Object implements java.lang.Comparable<ExecutionTypeRequest>
ExecutionType as well as flag that explicitly asks the
configuredScheduler to return Containers of exactly the Execution Type
requested.| Constructor | Description |
|---|---|
ExecutionTypeRequest() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.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. |
@Public @Evolving public static ExecutionTypeRequest newInstance()
@Public @Evolving public static ExecutionTypeRequest newInstance(ExecutionType execType)
@Public @Evolving public static ExecutionTypeRequest newInstance(ExecutionType execType, boolean ensureExecutionType)
@Public public abstract void setExecutionType(ExecutionType execType)
ExecutionType of the requested container.execType - ExecutionType of the requested container@Public public abstract ExecutionType getExecutionType()
ExecutionType.ExecutionType.@Public public abstract void setEnforceExecutionType(boolean enforceExecutionType)
enforceExecutionType - whether ExecutionType request should be
strictly honored.@Public public abstract boolean getEnforceExecutionType()
ResourceRequest.
Defaults to false.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.