Package org.libvirt
Class DomainSnapshot
java.lang.Object
org.libvirt.DomainSnapshot
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
delete
(int flags) Delete the Snapshotprotected void
finalize()
int
free()
Release the domain snapshot handle.Fetches an XML document describing attributes of the snapshot, without security-sensitive data.getXMLDesc
(int flags) Fetches an XML document describing attributes of the snapshot.
-
Constructor Details
-
DomainSnapshot
-
-
Method Details
-
delete
Delete the Snapshot- Parameters:
flags
- seeDomainSnapshot.SnapshotDeleteFlags
controls the deletion- Returns:
- ignore (always 0)
- Throws:
LibvirtException
- See Also:
-
finalize
- Overrides:
finalize
in classObject
- Throws:
LibvirtException
-
free
Release the domain snapshot handle. The underlying snapshot continues to exist.- Returns:
- 0 on success
- Throws:
LibvirtException
-
getXMLDesc
Fetches an XML document describing attributes of the snapshot, without security-sensitive data.- Returns:
- the XML document
- Throws:
LibvirtException
- See Also:
-
getXMLDesc
Fetches an XML document describing attributes of the snapshot.- Parameters:
flags
- bitwise-OR ofDomainSnapshot.XMLFlags
- Returns:
- the XML document
- Throws:
LibvirtException
- See Also:
-