|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xensource.xenapi.VMGuestMetrics
public class VMGuestMetrics
The metrics reported by the guest (as opposed to inferred from outside)
Nested Class Summary | |
---|---|
static class |
VMGuestMetrics.Record
Represents all the fields in a VMGuestMetrics |
Field Summary | |
---|---|
protected String |
ref
The XenAPI reference to this object. |
Method Summary | |
---|---|
static Set<VMGuestMetrics> |
getAll()
Return a list of all the VM_guest_metrics instances known to the system. |
static Map<VMGuestMetrics,VMGuestMetrics.Record> |
getAllRecords()
Get all the VMGuestMetrics Records at once, in a single XML RPC call |
static VMGuestMetrics |
getByUuid(String uuid)
Get a reference to the VM_guest_metrics instance with the specified UUID. |
Map<String,String> |
getDisks()
Get the disks field of the given VM_guest_metrics. |
protected static VMGuestMetrics |
getInstFromRef(String ref)
|
Date |
getLastUpdated()
Get the last_updated field of the given VM_guest_metrics. |
Map<String,String> |
getMemory()
Get the memory field of the given VM_guest_metrics. |
Map<String,String> |
getNetworks()
Get the networks field of the given VM_guest_metrics. |
Map<String,String> |
getOsVersion()
Get the os_version field of the given VM_guest_metrics. |
Map<String,String> |
getOther()
Get the other field of the given VM_guest_metrics. |
Map<String,String> |
getPVDriversVersion()
Get the PV_drivers_version field of the given VM_guest_metrics. |
VMGuestMetrics.Record |
getRecord()
Get a record containing the current state of the given VM_guest_metrics. |
String |
getUuid()
Get the uuid field of the given VM_guest_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 VMGuestMetrics getInstFromRef(String ref)
public VMGuestMetrics.Record getRecord() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static VMGuestMetrics 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 Map<String,String> getOsVersion() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getPVDriversVersion() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getMemory() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getDisks() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getNetworks() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Map<String,String> getOther() 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<VMGuestMetrics> getAll() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static Map<VMGuestMetrics,VMGuestMetrics.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 |