|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ovs.api.datamodel.server.VirtualServerMetrics
public class VirtualServerMetrics
Virtual Server Metrics Including items:
1. Virtual Server ID
2. Virtual Server Name
3. Sum of allocated VCPU for all VMs running on this Server
4. Number of physical CPU on this Server
5. Number of chips
6. CPU Speed MHZ
7. CPU Utilization
8. Total memory on this Server (MB)
9. Available Memory for future VM instance creation on this server(MB)
Constructor Summary | |
---|---|
VirtualServerMetrics() Default constructor |
Method Summary | |
---|---|
java.lang.Long |
getAllocatedVCpu() Get Allocated VCPU number |
java.lang.Long |
getCpuSpeedMHZ() Get CPU Speedm(MHZ) |
java.util.Map |
getCpuUtil() Get CPU Utilization for all CPUs. |
java.lang.Long |
getFreeMemory() Get free memory |
java.lang.Long |
getNumberOfChips() Get Chips number |
java.lang.Long |
getNumOfPhysicalCPU() Get physical CPU number |
java.lang.Long |
getTotalMemory() Get total memory |
java.lang.Long |
getVirtualServerID() Get virtual server ID |
java.lang.String |
getVirtualServerName() Get Virtual Server Name |
static void |
main(java.lang.String[] args) |
void |
setAllocatedVCpu(java.lang.Long allocatedVCpu) Set Allocated VCPU number |
void |
setCpuSpeedMHZ(java.lang.Long cpuSpeedMHZ) Set CPU Speedm(MHZ) |
void |
setCpuUtil(java.util.Map cpuUtil) Set CPU Utilization for all CPUs. |
void |
setFreeMemory(java.lang.Long freeMemory) Set free memory |
void |
setNumOfChips(java.lang.Long numOfChips) Set Chips number |
void |
setNumOfPhysicalCPU(java.lang.Long numOfPhysicalCPU) Set physical CPU number |
void |
setTotalMemory(java.lang.Long totalMemory) Set total memory |
void |
setVirtualServerID(java.lang.Long virtualServerID) Set virtual server ID, for the VirtualServerMetrics is against this virtual server. |
void |
setVirtualServerName(java.lang.String virtualServerName) Set Virtual Server Name |
java.lang.String |
toString() Override java.lang.Object.toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VirtualServerMetrics()
Method Detail |
---|
public void setTotalMemory(java.lang.Long totalMemory)
totalMemory
- Total Memorypublic java.lang.Long getTotalMemory()
public void setFreeMemory(java.lang.Long freeMemory)
freeMemory
- Free meorypublic java.lang.Long getFreeMemory()
public void setVirtualServerID(java.lang.Long virtualServerID)
virtualServerID
- Virtual server IDpublic java.lang.Long getVirtualServerID()
public java.lang.String toString()
toString
in class java.lang.Object
public void setCpuUtil(java.util.Map cpuUtil)
cpuUtil
- CPU Utilizationpublic java.util.Map getCpuUtil()
public void setVirtualServerName(java.lang.String virtualServerName)
virtualServerName
- Virtual Server Namepublic java.lang.String getVirtualServerName()
public void setAllocatedVCpu(java.lang.Long allocatedVCpu)
allocatedVCpu
- Allocated VCPU numberpublic java.lang.Long getAllocatedVCpu()
public void setNumOfPhysicalCPU(java.lang.Long numOfPhysicalCPU)
numOfPhysicalCPU
- Physical CPU numberpublic java.lang.Long getNumOfPhysicalCPU()
public void setNumOfChips(java.lang.Long numOfChips)
numOfChips
- Chips numberpublic java.lang.Long getNumberOfChips()
public void setCpuSpeedMHZ(java.lang.Long cpuSpeedMHZ)
cpuSpeedMHZ
- CPU Speedm(MHZ)public java.lang.Long getCpuSpeedMHZ()
public static void main(java.lang.String[] args)
|
Oracle VM Manager Web Services API Reference Release 2.1.5 E14979-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |