|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xensource.xenapi.VMMetrics
public class VMMetrics
The metrics associated with a VM
Nested Class Summary | |
---|---|
static class |
VMMetrics.Record
Represents all the fields in a VMMetrics |
Field Summary | |
---|---|
protected String |
ref
The XenAPI reference to this object. |
Method Summary | |
---|---|
static Set<VMMetrics> |
getAll()
Return a list of all the VM_metrics instances known to the system. |
static Map<VMMetrics,VMMetrics.Record> |
getAllRecords()
Get all the VMMetrics Records at once, in a single XML RPC call |
static VMMetrics |
getByUuid(String uuid)
Get a reference to the VM_metrics instance with the specified UUID. |
protected static VMMetrics |
getInstFromRef(String ref)
|
Date |
getLastUpdated()
Get the last_updated field of the given VM_metrics. |
Long |
getMemoryActual()
Get the memory/actual field of the given VM_metrics. |
VMMetrics.Record |
getRecord()
Get a record containing the current state of the given VM_metrics. |
Date |
getStartTime()
Get the start_time field of the given VM_metrics. |
Set<String> |
getState()
Get the state field of the given VM_metrics. |
String |
getUuid()
Get the uuid field of the given VM_metrics. |
Map<Long,Long> |
getVCPUsCPU()
Get the VCPUs/CPU field of the given VM_metrics. |
Map<Long,Set<String>> |
getVCPUsFlags()
Get the VCPUs/flags field of the given VM_metrics. |
Long |
getVCPUsNumber()
Get the VCPUs/number field of the given VM_metrics. |
Map<String,String> |
getVCPUsParams()
Get the VCPUs/params field of the given VM_metrics. |
Map<Long,Double> |
getVCPUsUtilisation()
Get the VCPUs/utilisation field of the given VM_metrics. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final String ref
Method Detail |
---|
protected static VMMetrics getInstFromRef(String ref)
public VMMetrics.Record getRecord() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static VMMetrics getByUuid(String uuid) throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
uuid
- UUID of object to return
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public String getUuid() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Long getMemoryActual() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Long getVCPUsNumber() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<Long,Double> getVCPUsUtilisation() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<Long,Long> getVCPUsCPU() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getVCPUsParams() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<Long,Set<String>> getVCPUsFlags() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Set<String> getState() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Date getStartTime() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Date getLastUpdated() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static Set<VMMetrics> getAll() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static Map<VMMetrics,VMMetrics.Record> getAllRecords() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |