public class OSDetails extends Object implements SmartExternalizable
Modifier and Type | Class and Description |
---|---|
static class |
OSDetails.OSDriveDetails |
static class |
OSDetails.OSNetInterfaceDetails |
static class |
OSDetails.OSVendorDetails |
Constructor and Description |
---|
OSDetails() |
OSDetails(String uid,
String name,
String arch,
String version,
int availableProcessors,
long totalSwapSpaceSize,
long totalPhysicalMemorySize,
String hostName,
String hostAddress,
OSDetails.OSNetInterfaceDetails[] netInterfaceConfigs,
OSDetails.OSDriveDetails[] driveConfigs,
OSDetails.OSVendorDetails vendorDetails) |
Modifier and Type | Method and Description |
---|---|
String |
getArch() |
int |
getAvailableProcessors() |
OSDetails.OSDriveDetails[] |
getDriveConfigs() |
String |
getHostAddress() |
String |
getHostName() |
String |
getName() |
OSDetails.OSNetInterfaceDetails[] |
getNetInterfaceConfigs() |
long |
getTotalPhysicalMemorySize() |
long |
getTotalSwapSpaceSize() |
String |
getUID() |
OSDetails.OSVendorDetails |
getVendorDetails() |
String |
getVersion() |
boolean |
isNA() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public OSDetails()
public OSDetails(String uid, String name, String arch, String version, int availableProcessors, long totalSwapSpaceSize, long totalPhysicalMemorySize, String hostName, String hostAddress, OSDetails.OSNetInterfaceDetails[] netInterfaceConfigs, OSDetails.OSDriveDetails[] driveConfigs, OSDetails.OSVendorDetails vendorDetails)
public boolean isNA()
public String getUID()
public String getName()
public String getArch()
public String getVersion()
public int getAvailableProcessors()
public long getTotalSwapSpaceSize()
public long getTotalPhysicalMemorySize()
public String getHostName()
public String getHostAddress()
public OSDetails.OSNetInterfaceDetails[] getNetInterfaceConfigs()
public OSDetails.OSDriveDetails[] getDriveConfigs()
public OSDetails.OSVendorDetails getVendorDetails()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © GigaSpaces.