com.xensource.xenapi
Class HostMetrics.Record

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

public static class HostMetrics.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a HostMetrics


Field Summary
 java.util.Date lastUpdated
          Time at which this information was last updated
 java.lang.Boolean live
          Pool master thinks this host is live
 java.lang.Long memoryFree
          Free host memory (bytes)
 java.lang.Long memoryTotal
          Total host memory (bytes)
 java.util.Map<java.lang.String,java.lang.String> otherConfig
          additional configuration
 java.lang.String uuid
          Unique identifier/object reference
 
Constructor Summary
HostMetrics.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a host_metrics.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uuid

public java.lang.String uuid
Unique identifier/object reference


memoryTotal

public java.lang.Long memoryTotal
Total host memory (bytes)


memoryFree

public java.lang.Long memoryFree
Free host memory (bytes)


live

public java.lang.Boolean live
Pool master thinks this host is live


lastUpdated

public java.util.Date lastUpdated
Time at which this information was last updated


otherConfig

public java.util.Map<java.lang.String,java.lang.String> otherConfig
additional configuration

Constructor Detail

HostMetrics.Record

public HostMetrics.Record()
Method Detail

toString

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

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a host_metrics.Record to a Map

Specified by:
toMap in interface Types.Record