com.xensource.xenapi
Class HostCpu.Record

java.lang.Object
  extended by com.xensource.xenapi.HostCpu.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
HostCpu

public static class HostCpu.Record
extends Object
implements Types.Record

Represents all the fields in a HostCpu


Field Summary
 String features
          the physical CPU feature bitmap
 String flags
          the flags of the physical CPU (a decoded version of the features field)
 Host host
          the host the CPU is in
 String modelname
          the model name of the physical CPU
 Long number
          the number of the physical CPU within the host
 Long speed
          the speed of the physical CPU
 String stepping
          the stepping of the physical CPU
 Double utilisation
          the current CPU utilisation
 String uuid
          unique identifier/object reference
 String vendor
          the vendor of the physical CPU
 
Constructor Summary
HostCpu.Record()
           
 
Method Summary
 Map<String,Object> toMap()
          Convert a host_cpu.Record to a Map
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public String uuid
unique identifier/object reference


host

public Host host
the host the CPU is in


number

public Long number
the number of the physical CPU within the host


vendor

public String vendor
the vendor of the physical CPU


speed

public Long speed
the speed of the physical CPU


modelname

public String modelname
the model name of the physical CPU


stepping

public String stepping
the stepping of the physical CPU


flags

public String flags
the flags of the physical CPU (a decoded version of the features field)


features

public String features
the physical CPU feature bitmap


utilisation

public Double utilisation
the current CPU utilisation

Constructor Detail

HostCpu.Record

public HostCpu.Record()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toMap

public Map<String,Object> toMap()
Convert a host_cpu.Record to a Map

Specified by:
toMap in interface Types.Record