public class ExtHypervisor extends Object implements Hypervisor
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtHypervisor.Hypervisors |
Hypervisor.CPUInfo, Hypervisor.CPUTopology, Hypervisor.Service| Constructor and Description |
|---|
ExtHypervisor() |
| Modifier and Type | Method and Description |
|---|---|
Hypervisor.CPUInfo |
getCPUInfo()
Gets the cpu info.
|
int |
getCurrentWorkload()
Gets the current workload.
|
int |
getFreeDisk()
Gets free disk space in GB
|
int |
getFreeRam()
Gets the free RAM in MB
|
String |
getHostIP()
Gets the host IP address
|
String |
getHypervisorHostname()
Gets the hostname of the hypervisor node.
|
String |
getId() |
int |
getLeastDiskAvailable()
Gets the least disk available.
|
int |
getLocalDisk()
Gets the local disk.
|
int |
getLocalDiskUsed()
Gets the local disk used.
|
int |
getLocalMemory()
Gets the local memory.
|
int |
getLocalMemoryUsed()
Gets the local memory used.
|
int |
getRunningVM()
Gets the running vm.
|
Hypervisor.Service |
getService()
Gets the service.
|
String |
getType()
Gets the type of the hypervisor.
|
int |
getVersion()
Gets the version of the hypervisor
|
int |
getVirtualCPU()
Gets the virtual cpu.
|
int |
getVirtualUsedCPU()
Gets the virtual used cpu.
|
String |
toString() |
public String getId()
getId in interface Hypervisorpublic int getCurrentWorkload()
HypervisorgetCurrentWorkload in interface Hypervisorpublic int getLeastDiskAvailable()
HypervisorgetLeastDiskAvailable in interface Hypervisorpublic int getFreeDisk()
HypervisorgetFreeDisk in interface Hypervisorpublic int getFreeRam()
HypervisorgetFreeRam in interface Hypervisorpublic String getHypervisorHostname()
HypervisorgetHypervisorHostname in interface Hypervisorpublic String getType()
HypervisorgetType in interface Hypervisorpublic int getVersion()
HypervisorgetVersion in interface Hypervisorpublic int getRunningVM()
HypervisorgetRunningVM in interface Hypervisorpublic int getVirtualCPU()
HypervisorgetVirtualCPU in interface Hypervisorpublic int getVirtualUsedCPU()
HypervisorgetVirtualUsedCPU in interface Hypervisorpublic int getLocalDisk()
HypervisorgetLocalDisk in interface Hypervisorpublic int getLocalDiskUsed()
HypervisorgetLocalDiskUsed in interface Hypervisorpublic int getLocalMemory()
HypervisorgetLocalMemory in interface Hypervisorpublic int getLocalMemoryUsed()
HypervisorgetLocalMemoryUsed in interface Hypervisorpublic Hypervisor.Service getService()
HypervisorgetService in interface Hypervisorpublic String getHostIP()
HypervisorgetHostIP in interface Hypervisorpublic Hypervisor.CPUInfo getCPUInfo()
HypervisorgetCPUInfo in interface HypervisorCopyright © 2017. All rights reserved.