@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class SchedulingRequest extends Object
SchedulingRequest represents a request made by an application to the
 ResourceManager to obtain an allocation. It is similar to the
 ResourceRequest. However, it is more complete than the latter, as it
 allows applications to specify allocation tags (e.g., to express that an
 allocation belongs to Spark or is an HBase-master), as well
 as involved PlacementConstraints (e.g., anti-affinity between Spark
 and HBase allocations).
 The size specification of the allocation is in ResourceSizing.| Modifier and Type | Class and Description | 
|---|---|
| static class  | SchedulingRequest.SchedulingRequestBuilderClass to construct instances of  SchedulingRequestwith specific
 options. | 
| Constructor and Description | 
|---|
| SchedulingRequest() | 
@InterfaceAudience.Public @InterfaceStability.Unstable public static SchedulingRequest newInstance(long allocationRequestId, Priority priority, ExecutionTypeRequest executionType, Set<String> allocationTags, ResourceSizing resourceSizing, PlacementConstraint placementConstraintExpression)
@InterfaceAudience.Public @InterfaceStability.Unstable public static SchedulingRequest.SchedulingRequestBuilder newBuilder()
public abstract long getAllocationRequestId()
public abstract void setAllocationRequestId(long allocationRequestId)
public abstract Priority getPriority()
public abstract void setPriority(Priority priority)
public abstract ExecutionTypeRequest getExecutionType()
public abstract void setExecutionType(ExecutionTypeRequest executionType)
public abstract ResourceSizing getResourceSizing()
public abstract void setResourceSizing(ResourceSizing resourceSizing)
public abstract PlacementConstraint getPlacementConstraint()
public abstract void setPlacementConstraint(PlacementConstraint placementConstraint)
Copyright © 2023 Apache Software Foundation. All rights reserved.