com.xensource.xenapi
public class PVSCacheStorage extends XenAPIObject
| Modifier and Type | Class and Description |
|---|---|
static class |
PVSCacheStorage.Record
Represents all the fields in a PVSCacheStorage
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
ref
The XenAPI reference (OpaqueRef) to this object.
|
| Modifier and Type | Method and Description |
|---|---|
static PVSCacheStorage |
create(Connection c,
PVSCacheStorage.Record record)
Create a new PVS_cache_storage instance, and return its handle.
|
static Task |
createAsync(Connection c,
PVSCacheStorage.Record record)
Create a new PVS_cache_storage instance, and return its handle.
|
void |
destroy(Connection c)
Destroy the specified PVS_cache_storage instance.
|
Task |
destroyAsync(Connection c)
Destroy the specified PVS_cache_storage instance.
|
boolean |
equals(java.lang.Object obj)
If obj is a PVSCacheStorage, compares XenAPI references for equality.
|
static java.util.Set<PVSCacheStorage> |
getAll(Connection c)
Return a list of all the PVS_cache_storages known to the system.
|
static java.util.Map<PVSCacheStorage,PVSCacheStorage.Record> |
getAllRecords(Connection c)
Return a map of PVS_cache_storage references to PVS_cache_storage records for all PVS_cache_storages known to the system.
|
static PVSCacheStorage |
getByUuid(Connection c,
java.lang.String uuid)
Get a reference to the PVS_cache_storage instance with the specified UUID.
|
Host |
getHost(Connection c)
Get the host field of the given PVS_cache_storage.
|
PVSCacheStorage.Record |
getRecord(Connection c)
Get a record containing the current state of the given PVS_cache_storage.
|
PVSSite |
getSite(Connection c)
Get the site field of the given PVS_cache_storage.
|
java.lang.Long |
getSize(Connection c)
Get the size field of the given PVS_cache_storage.
|
SR |
getSR(Connection c)
Get the SR field of the given PVS_cache_storage.
|
java.lang.String |
getUuid(Connection c)
Get the uuid field of the given PVS_cache_storage.
|
VDI |
getVDI(Connection c)
Get the VDI field of the given PVS_cache_storage.
|
int |
hashCode() |
java.lang.String |
toWireString() |
isNullprotected final java.lang.String ref
public java.lang.String toWireString()
toWireString in class XenAPIObjectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic PVSCacheStorage.Record getRecord(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static PVSCacheStorage getByUuid(Connection c, java.lang.String uuid) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
uuid - UUID of object to returnTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static Task createAsync(Connection c, PVSCacheStorage.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static PVSCacheStorage create(Connection c, PVSCacheStorage.Record record) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
record - All constructor argumentsTypes.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Task destroyAsync(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic void destroy(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.String getUuid(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic Host getHost(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic SR getSR(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic PVSSite getSite(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic java.lang.Long getSize(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic VDI getVDI(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Set<PVSCacheStorage> getAll(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcExceptionpublic static java.util.Map<PVSCacheStorage,PVSCacheStorage.Record> getAllRecords(Connection c) throws Types.BadServerResponse, Types.XenAPIException, org.apache.xmlrpc.XmlRpcException
Types.BadServerResponseTypes.XenAPIExceptionorg.apache.xmlrpc.XmlRpcException