Class AbstractYarnScheduler.ContainerObjectType
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.ContainerObjectType
- Enclosing class:
- AbstractYarnScheduler<T extends SchedulerApplicationAttempt,
N extends SchedulerNode>
ContainerObjectType is a container object with the following properties.
Namely allocationId, priority, executionType and resourceType.
-
Constructor Summary
ConstructorsConstructorDescriptionContainerObjectType(long allocationId, org.apache.hadoop.yarn.api.records.Priority priority, org.apache.hadoop.yarn.api.records.ExecutionType executionType, org.apache.hadoop.yarn.api.records.Resource resource) -
Method Summary
-
Constructor Details
-
ContainerObjectType
public ContainerObjectType(long allocationId, org.apache.hadoop.yarn.api.records.Priority priority, org.apache.hadoop.yarn.api.records.ExecutionType executionType, org.apache.hadoop.yarn.api.records.Resource resource)
-
-
Method Details
-
getAllocationId
public long getAllocationId() -
getPriority
public org.apache.hadoop.yarn.api.records.Priority getPriority() -
getExecutionType
public org.apache.hadoop.yarn.api.records.ExecutionType getExecutionType() -
getResource
public org.apache.hadoop.yarn.api.records.Resource getResource() -
hashCode
public int hashCode() -
equals
-
toString
-