org.libvirt
public class DomainSnapshot extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Libvirt |
libvirt
The libvirt connection from the hypervisor
|
Constructor and Description |
---|
DomainSnapshot(Connect virConnect,
DomainSnapshotPointer VDSP) |
Modifier and Type | Method and Description |
---|---|
int |
delete(int flags)
Delete the Snapshot
|
void |
finalize() |
int |
free()
Release the domain snapshot handle.
|
java.lang.String |
getXMLDesc()
Fetches an XML document describing attributes of the snapshot.
|
protected void |
processError()
Error handling logic to throw errors.
|
protected Libvirt libvirt
public DomainSnapshot(Connect virConnect, DomainSnapshotPointer VDSP)
public int delete(int flags) throws LibvirtException
flags
- controls teh deletionLibvirtException
public void finalize() throws LibvirtException
finalize
in class java.lang.Object
LibvirtException
public int free() throws LibvirtException
LibvirtException
public java.lang.String getXMLDesc() throws LibvirtException
LibvirtException
protected void processError() throws LibvirtException
LibvirtException