|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.libvirt.StorageVol
public class StorageVol
Nested Class Summary | |
---|---|
static class |
StorageVol.Type
|
Method Summary | |
---|---|
void |
delete(int flags)
Delete the storage volume from the pool |
void |
free()
Release the storage volume handle. |
Connect |
getConnect()
Provides the connection object associated with a storage volume. |
StorageVolInfo |
getInfo()
Fetches volatile information about the storage volume such as its current allocation |
java.lang.String |
getKey()
Fetch the storage volume key. |
java.lang.String |
getName()
Fetch the storage volume name. |
java.lang.String |
getPath()
Fetch the storage volume path. |
java.lang.String |
getXMLDesc(int flags)
Fetch an XML document describing all aspects of this storage volume |
StoragePool |
storagePoolLookupByVolume()
Fetch a storage pool which contains this volume |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public StoragePool storagePoolLookupByVolume() throws LibvirtException
LibvirtException
public void delete(int flags) throws LibvirtException
flags
- future flags, use 0 for now
LibvirtException
public void free() throws LibvirtException
LibvirtException
public Connect getConnect()
public StorageVolInfo getInfo() throws LibvirtException
LibvirtException
public java.lang.String getKey() throws LibvirtException
LibvirtException
public java.lang.String getName() throws LibvirtException
LibvirtException
public java.lang.String getPath() throws LibvirtException
LibvirtException
public java.lang.String getXMLDesc(int flags) throws LibvirtException
flags
- flags for XML generation (unused, pass 0)
LibvirtException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |