public class ResourceInfo extends Object
ResourceInfo()
ResourceInfo(org.apache.hadoop.yarn.api.records.Resource res)
long
getMemorySize()
int
getvCores()
void
setMemory(int memory)
setvCores(int vCores)
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public ResourceInfo()
public ResourceInfo(org.apache.hadoop.yarn.api.records.Resource res)
public long getMemorySize()
public int getvCores()
public String toString()
toString
Object
public void setMemory(int memory)
public void setvCores(int vCores)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.