org.libvirt
Class DomainInfo

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

public class DomainInfo
extends java.lang.Object

This object is returned by Domain.getInfo()

Author:
stoty

Nested Class Summary
static class DomainInfo.DomainState
           
 
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
 DomainInfo.DomainState state
          the running state, one of virDomainFlag
 
Constructor Summary
DomainInfo()
           
DomainInfo(virDomainInfo info)
           
 
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 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)
Method Detail

toString

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