Package org.libvirt

Class DomainStatsRecord

java.lang.Object
org.libvirt.DomainStatsRecord

public class DomainStatsRecord extends Object
A single record returned by Connect.getAllDomainStats(int, int) or Connect.getDomainListStats(Domain[], int, int).

Carries the Domain the stats describe and the typed parameters for that domain, in the order returned by libvirt (for example "state.state", "cpu.time", "block.0.rd.bytes").

The Domain reference is owned by the caller and must be freed (e.g. via Domain.free()) once the record is no longer needed.