|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.xensource.xenapi.VIFMetrics
public class VIFMetrics
The metrics associated with a virtual network device
Nested Class Summary | |
---|---|
static class |
VIFMetrics.Record
Represents all the fields in a VIFMetrics |
Field Summary | |
---|---|
protected String |
ref
The XenAPI reference to this object. |
Method Summary | |
---|---|
static Set<VIFMetrics> |
getAll()
Return a list of all the VIF_metrics instances known to the system. |
static Map<VIFMetrics,VIFMetrics.Record> |
getAllRecords()
Get all the VIFMetrics Records at once, in a single XML RPC call |
static VIFMetrics |
getByUuid(String uuid)
Get a reference to the VIF_metrics instance with the specified UUID. |
protected static VIFMetrics |
getInstFromRef(String ref)
|
Double |
getIoReadKbs()
Get the io/read_kbs field of the given VIF_metrics. |
Double |
getIoWriteKbs()
Get the io/write_kbs field of the given VIF_metrics. |
Date |
getLastUpdated()
Get the last_updated field of the given VIF_metrics. |
VIFMetrics.Record |
getRecord()
Get a record containing the current state of the given VIF_metrics. |
String |
getUuid()
Get the uuid field of the given VIF_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 VIFMetrics getInstFromRef(String ref)
public VIFMetrics.Record getRecord() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static VIFMetrics 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 Double getIoReadKbs() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public Double getIoWriteKbs() 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<VIFMetrics> getAll() throws Types.BadServerResponse, ConnectionHelper.NoConnectionOnThisThreadException, XmlRpcException
Types.BadServerResponse
ConnectionHelper.NoConnectionOnThisThreadException
XmlRpcException
public static Map<VIFMetrics,VIFMetrics.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 |