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 Hypervisor
public int getCurrentWorkload()
Hypervisor
getCurrentWorkload
in interface Hypervisor
public int getLeastDiskAvailable()
Hypervisor
getLeastDiskAvailable
in interface Hypervisor
public int getFreeDisk()
Hypervisor
getFreeDisk
in interface Hypervisor
public int getFreeRam()
Hypervisor
getFreeRam
in interface Hypervisor
public String getHypervisorHostname()
Hypervisor
getHypervisorHostname
in interface Hypervisor
public String getType()
Hypervisor
getType
in interface Hypervisor
public int getVersion()
Hypervisor
getVersion
in interface Hypervisor
public int getRunningVM()
Hypervisor
getRunningVM
in interface Hypervisor
public int getVirtualCPU()
Hypervisor
getVirtualCPU
in interface Hypervisor
public int getVirtualUsedCPU()
Hypervisor
getVirtualUsedCPU
in interface Hypervisor
public int getLocalDisk()
Hypervisor
getLocalDisk
in interface Hypervisor
public int getLocalDiskUsed()
Hypervisor
getLocalDiskUsed
in interface Hypervisor
public int getLocalMemory()
Hypervisor
getLocalMemory
in interface Hypervisor
public int getLocalMemoryUsed()
Hypervisor
getLocalMemoryUsed
in interface Hypervisor
public Hypervisor.Service getService()
Hypervisor
getService
in interface Hypervisor
public String getHostIP()
Hypervisor
getHostIP
in interface Hypervisor
public Hypervisor.CPUInfo getCPUInfo()
Hypervisor
getCPUInfo
in interface Hypervisor
Copyright © 2017. All rights reserved.