@InterfaceAudience.Private
@InterfaceStability.Unstable
public class SchedulingRequestPBImpl
extends org.apache.hadoop.yarn.api.records.SchedulingRequest
SchedulingRequest interface.| Constructor and Description |
|---|
SchedulingRequestPBImpl() |
SchedulingRequestPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.SchedulingRequestProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
long |
getAllocationRequestId() |
Set<String> |
getAllocationTags() |
org.apache.hadoop.yarn.api.records.ExecutionTypeRequest |
getExecutionType() |
org.apache.hadoop.yarn.api.resource.PlacementConstraint |
getPlacementConstraint() |
org.apache.hadoop.yarn.api.records.Priority |
getPriority() |
org.apache.hadoop.yarn.proto.YarnProtos.SchedulingRequestProto |
getProto() |
org.apache.hadoop.yarn.api.records.ResourceSizing |
getResourceSizing() |
int |
hashCode() |
void |
setAllocationRequestId(long allocationRequestId) |
void |
setAllocationTags(Set<String> allocationTags) |
void |
setExecutionType(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest executionType) |
void |
setPlacementConstraint(org.apache.hadoop.yarn.api.resource.PlacementConstraint placementConstraint) |
void |
setPriority(org.apache.hadoop.yarn.api.records.Priority priority) |
void |
setResourceSizing(org.apache.hadoop.yarn.api.records.ResourceSizing resourceSizing) |
String |
toString() |
public SchedulingRequestPBImpl()
public SchedulingRequestPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.SchedulingRequestProto proto)
public org.apache.hadoop.yarn.proto.YarnProtos.SchedulingRequestProto getProto()
public long getAllocationRequestId()
getAllocationRequestId in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setAllocationRequestId(long allocationRequestId)
setAllocationRequestId in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic org.apache.hadoop.yarn.api.records.Priority getPriority()
getPriority in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
setPriority in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic org.apache.hadoop.yarn.api.records.ExecutionTypeRequest getExecutionType()
getExecutionType in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setExecutionType(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest executionType)
setExecutionType in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic Set<String> getAllocationTags()
getAllocationTags in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setAllocationTags(Set<String> allocationTags)
setAllocationTags in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic org.apache.hadoop.yarn.api.records.ResourceSizing getResourceSizing()
getResourceSizing in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setResourceSizing(org.apache.hadoop.yarn.api.records.ResourceSizing resourceSizing)
setResourceSizing in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic org.apache.hadoop.yarn.api.resource.PlacementConstraint getPlacementConstraint()
getPlacementConstraint in class org.apache.hadoop.yarn.api.records.SchedulingRequestpublic void setPlacementConstraint(org.apache.hadoop.yarn.api.resource.PlacementConstraint placementConstraint)
setPlacementConstraint in class org.apache.hadoop.yarn.api.records.SchedulingRequestCopyright © 2008–2024 Apache Software Foundation. All rights reserved.