org.apache.hadoop.yarn.server.resourcemanager.webapp.dao
Class ResourceInfo

java.lang.Object
  extended by org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ResourceInfo

public class ResourceInfo
extends Object


Constructor Summary
ResourceInfo()
           
ResourceInfo(org.apache.hadoop.yarn.api.records.Resource res)
           
 
Method Summary
 int getMemory()
           
 int getvCores()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceInfo

public ResourceInfo()

ResourceInfo

public ResourceInfo(org.apache.hadoop.yarn.api.records.Resource res)
Method Detail

getMemory

public int getMemory()

getvCores

public int getvCores()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All Rights Reserved.