org.glassfish.virtualization.libvirt.jna
Class DomainInfo

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.glassfish.virtualization.libvirt.jna.DomainInfo

public class DomainInfo
extends com.sun.jna.Structure

JNA mapping for the virDomainInfo structure


Nested Class Summary
static class DomainInfo.DomainState
           
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 long cpuTime
           
 com.sun.jna.NativeLong maxMem
           
 com.sun.jna.NativeLong memory
           
 short nrVirtCpu
           
 int state
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
DomainInfo()
           
 
Method Summary
 DomainInfo.DomainState getState()
           
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getFields, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

state

public int state

maxMem

public com.sun.jna.NativeLong maxMem

memory

public com.sun.jna.NativeLong memory

nrVirtCpu

public short nrVirtCpu

cpuTime

public long cpuTime
Constructor Detail

DomainInfo

public DomainInfo()
Method Detail

getState

public DomainInfo.DomainState getState()


Copyright © 2012. All Rights Reserved.