java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.numa.NumaResourceAllocation
All Implemented Interfaces:
Serializable

public class NumaResourceAllocation extends Object implements Serializable
NumaResourceAllocation contains Memory nodes and CPU nodes assigned to a container.
See Also:
  • Constructor Details

    • NumaResourceAllocation

      public NumaResourceAllocation(Map<String,Long> memoryAllocations, Map<String,Integer> cpuAllocations)
    • NumaResourceAllocation

      public NumaResourceAllocation(String memNodeId, long memory, String cpuNodeId, int cpus)
  • Method Details

    • getMemNodes

      public Set<String> getMemNodes()
    • getCpuNodes

      public Set<String> getCpuNodes()
    • getNodeVsMemory

      public org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Long> getNodeVsMemory()
    • getNodeVsCpus

      public org.apache.hadoop.thirdparty.com.google.common.collect.ImmutableMap<String,Integer> getNodeVsCpus()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object