public static class VMClasses.VMClass
extends java.lang.Object
Constructor and Description |
---|
VMClass(java.lang.String name,
int nbOfCPUs,
int memSize,
int netBW,
int migNetBW,
int memIntensity)
Constructs a new VM class
|
Modifier and Type | Method and Description |
---|---|
int |
getMemIntensity() |
int |
getMemSize()
Returns the memory allocated to the VM
|
int |
getMigNetBW() |
java.lang.String |
getName()
Returns the name of the class
|
int |
getNbOfCPUs()
Returns the number of vCPUs (or ECUs for AWS EC2)
|
int |
getNetBW() |
java.lang.String |
toString() |
public VMClass(java.lang.String name, int nbOfCPUs, int memSize, int netBW, int migNetBW, int memIntensity)
public java.lang.String getName()
public int getNbOfCPUs()
public int getMemSize()
public int getNetBW()
public int getMigNetBW()
public int getMemIntensity()
public java.lang.String toString()
toString
in class java.lang.Object