org.globus.mds.glue
Class HostType

java.lang.Object
  extended byorg.globus.mds.glue.SubClusterOrHostType
      extended byorg.globus.mds.glue.HostType
All Implemented Interfaces:
AnyContentType, Serializable

public class HostType
extends SubClusterOrHostType
implements Serializable

A host may have any of the properties of a subcluster. TODO: really a Host shouldn't be allowed another Host below it? Can I specify a restriction in here to limit the number of subordinate Hosts to 0, or some trick like that?

See Also:
Serialized Form

Field Summary
private  Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  LoadType processorLoad
           
private  LoadType SMPLoad
           
private static TypeDesc typeDesc
           
 
Fields inherited from class org.globus.mds.glue.SubClusterOrHostType
 
Constructor Summary
HostType()
           
HostType(BenchmarkType benchmark, ProcessorType processor, MainMemoryType mainMemory, OperatingSystemType operatingSystem, StorageDeviceType[] storageDevice, ArchitectureType architecture, ApplicationSoftwareType applicationSoftware, FileSystemType[] fileSystem, NetworkAdapterType[] networkAdapter, MessageElement[] _any, String name, String uniqueID, URI informationServiceURL, LoadType processorLoad, LoadType SMPLoad)
           
 
Method Summary
 boolean equals(Object obj)
           
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 LoadType getProcessorLoad()
          Gets the processorLoad value for this HostType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 LoadType getSMPLoad()
          Gets the SMPLoad value for this HostType.
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setProcessorLoad(LoadType processorLoad)
          Sets the processorLoad value for this HostType.
 void setSMPLoad(LoadType SMPLoad)
          Sets the SMPLoad value for this HostType.
 
Methods inherited from class org.globus.mds.glue.SubClusterOrHostType
get_any, getApplicationSoftware, getArchitecture, getBenchmark, getFileSystem, getFileSystem, getInformationServiceURL, getMainMemory, getName, getNetworkAdapter, getNetworkAdapter, getOperatingSystem, getProcessor, getStorageDevice, getStorageDevice, getUniqueID, set_any, setApplicationSoftware, setArchitecture, setBenchmark, setFileSystem, setFileSystem, setInformationServiceURL, setMainMemory, setName, setNetworkAdapter, setNetworkAdapter, setOperatingSystem, setProcessor, setStorageDevice, setStorageDevice, setUniqueID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processorLoad

private LoadType processorLoad

SMPLoad

private LoadType SMPLoad

__equalsCalc

private Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static TypeDesc typeDesc
Constructor Detail

HostType

public HostType()

HostType

public HostType(BenchmarkType benchmark,
                ProcessorType processor,
                MainMemoryType mainMemory,
                OperatingSystemType operatingSystem,
                StorageDeviceType[] storageDevice,
                ArchitectureType architecture,
                ApplicationSoftwareType applicationSoftware,
                FileSystemType[] fileSystem,
                NetworkAdapterType[] networkAdapter,
                MessageElement[] _any,
                String name,
                String uniqueID,
                URI informationServiceURL,
                LoadType processorLoad,
                LoadType SMPLoad)
Method Detail

getProcessorLoad

public LoadType getProcessorLoad()
Gets the processorLoad value for this HostType.

Returns:
processorLoad

setProcessorLoad

public void setProcessorLoad(LoadType processorLoad)
Sets the processorLoad value for this HostType.

Parameters:
processorLoad -

getSMPLoad

public LoadType getSMPLoad()
Gets the SMPLoad value for this HostType.

Returns:
SMPLoad

setSMPLoad

public void setSMPLoad(LoadType SMPLoad)
Sets the SMPLoad value for this HostType.

Parameters:
SMPLoad -

equals

public boolean equals(Object obj)
Overrides:
equals in class SubClusterOrHostType

hashCode

public int hashCode()
Overrides:
hashCode in class SubClusterOrHostType

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer