org.libvirt
Class VirDomainInfo

java.lang.Object
  extended by org.libvirt.VirDomainInfo

public class VirDomainInfo
extends java.lang.Object

This object is returned by VirDomain.getInfo()


Nested Class Summary
static class VirDomainInfo.VirDomainState
           
 
Field Summary
 long cpuTime
          the CPU time used in nanoseconds
 long maxMem
          the maximum memory in KBytes allowed
 long memory
          the memory in KBytes used by the domain
 int nrVirtCpu
          the number of virtual CPUs for the domain
 VirDomainInfo.VirDomainState state
          the running state, one of virDomainFlag
 
Constructor Summary
VirDomainInfo()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

state

public VirDomainInfo.VirDomainState 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

VirDomainInfo

public VirDomainInfo()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object