public class ResourceRequestInfo extends Object
Constructor and Description |
---|
ResourceRequestInfo() |
ResourceRequestInfo(org.apache.hadoop.yarn.api.records.ResourceRequest request) |
ResourceRequestInfo(org.apache.hadoop.yarn.api.records.SchedulingRequest request) |
Modifier and Type | Method and Description |
---|---|
long |
getAllocationRequestId() |
Set<String> |
getAllocationTags() |
ResourceInfo |
getCapability() |
ExecutionTypeRequestInfo |
getExecutionTypeRequest() |
String |
getNodeLabelExpression() |
int |
getNumContainers() |
String |
getPlacementConstraint() |
org.apache.hadoop.yarn.api.records.Priority |
getPriority() |
boolean |
getRelaxLocality() |
String |
getResourceName() |
void |
setAllocationRequestId(long allocationRequestId) |
void |
setAllocationTags(Set<String> allocationTags) |
void |
setCapability(ResourceInfo capability) |
void |
setExecutionTypeRequest(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest executionTypeRequest) |
void |
setNodeLabelExpression(String nodeLabelExpression) |
void |
setNumContainers(int numContainers) |
void |
setPlacementConstraint(String placementConstraint) |
void |
setPriority(org.apache.hadoop.yarn.api.records.Priority priority) |
void |
setRelaxLocality(boolean relaxLocality) |
void |
setResourceName(String resourceName) |
public ResourceRequestInfo()
public ResourceRequestInfo(org.apache.hadoop.yarn.api.records.ResourceRequest request)
public ResourceRequestInfo(org.apache.hadoop.yarn.api.records.SchedulingRequest request)
public org.apache.hadoop.yarn.api.records.Priority getPriority()
public void setPriority(org.apache.hadoop.yarn.api.records.Priority priority)
public String getResourceName()
public void setResourceName(String resourceName)
public ResourceInfo getCapability()
public void setCapability(ResourceInfo capability)
public int getNumContainers()
public void setNumContainers(int numContainers)
public boolean getRelaxLocality()
public void setRelaxLocality(boolean relaxLocality)
public String getNodeLabelExpression()
public void setNodeLabelExpression(String nodeLabelExpression)
public void setExecutionTypeRequest(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest executionTypeRequest)
public ExecutionTypeRequestInfo getExecutionTypeRequest()
public String getPlacementConstraint()
public void setPlacementConstraint(String placementConstraint)
public long getAllocationRequestId()
public void setAllocationRequestId(long allocationRequestId)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.