Package org.libvirt

Class 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 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • 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()
    • Method Detail

      • toString

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