Package org.libvirt
Class DomainInfo
- java.lang.Object
-
- org.libvirt.DomainInfo
-
public class DomainInfo extends java.lang.Object
This object is returned by Domain.getInfo()- Author:
- stoty
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DomainInfo.DomainState
-
Field Summary
Fields Modifier and Type Field Description long
cpuTime
the CPU time used in nanosecondslong
maxMem
the maximum memory in KBytes allowedlong
memory
the memory in KBytes used by the domainint
nrVirtCpu
the number of virtual CPUs for the domainDomainInfo.DomainState
state
the running state, one of virDomainFlag
-
Constructor Summary
Constructors Constructor Description DomainInfo()
DomainInfo(virDomainInfo info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
state
public DomainInfo.DomainState state
the running state, one of virDomainFlag
-
maxMem
public long maxMem
the maximum memory in KBytes allowed
-
memory
public long memory
the memory in KBytes used by the domain
-
nrVirtCpu
public int nrVirtCpu
the number of virtual CPUs for the domain
-
cpuTime
public long cpuTime
the CPU time used in nanoseconds
-
-
Constructor Detail
-
DomainInfo
public DomainInfo()
-
DomainInfo
public DomainInfo(virDomainInfo info)
-
-