org.libvirt

Class DomainInfo

public class DomainInfo extends Object

This object is returned by Domain.getInfo()

Author: stoty

Nested Class Summary
static classDomainInfo.DomainState
Field Summary
longcpuTime
the CPU time used in nanoseconds
longmaxMem
the maximum memory in KBytes allowed
longmemory
the memory in KBytes used by the domain
intnrVirtCpu
the number of virtual CPUs for the domain
DomainInfo.DomainStatestate
the running state, one of virDomainFlag
Constructor Summary
DomainInfo()
DomainInfo(virDomainInfo info)

Field Detail

cpuTime

public long cpuTime
the CPU time used in nanoseconds

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

state

public DomainInfo.DomainState state
the running state, one of virDomainFlag

Constructor Detail

DomainInfo

public DomainInfo()

DomainInfo

public DomainInfo(virDomainInfo info)