Class AbstractYarnScheduler.ContainerObjectType

java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.scheduler.AbstractYarnScheduler.ContainerObjectType
Enclosing class:
AbstractYarnScheduler<T extends SchedulerApplicationAttempt,N extends SchedulerNode>

protected class AbstractYarnScheduler.ContainerObjectType extends Object
ContainerObjectType is a container object with the following properties. Namely allocationId, priority, executionType and resourceType.
  • 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object