org.libvirt
public class DomainSnapshot extends Object
Field Summary | |
---|---|
protected Libvirt | libvirt
The libvirt connection from the hypervisor |
Constructor Summary | |
---|---|
DomainSnapshot(Connect virConnect, DomainSnapshotPointer VDSP) |
Method Summary | |
---|---|
int | delete(int flags)
Delete the Snapshot
|
int | free()
Release the domain snapshot handle. |
String | getXMLDesc()
Fetches an XML document describing attributes of the snapshot.
|
protected void | processError()
Error handling logic to throw errors. |
Parameters: flags controls teh deletion
Returns:
Throws: LibvirtException
See Also: Libvirt
Documentation
Returns: 0 on success, or -1 on error.
Throws: LibvirtException
Returns: the XML document
See Also: Libvirt
Documentation