public static class OSDetails.OSDriveDetails extends Object implements SmartExternalizable
Constructor and Description |
---|
OSDriveDetails() |
OSDriveDetails(String name,
long capacityInKB) |
Modifier and Type | Method and Description |
---|---|
Long |
getCapacityInBytes() |
Long |
getCapacityInGB() |
Long |
getCapacityInKB() |
Long |
getCapacityInMB() |
String |
getName() |
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public OSDriveDetails()
public OSDriveDetails(String name, long capacityInKB)
public Long getCapacityInBytes()
public Long getCapacityInKB()
public Long getCapacityInMB()
public Long getCapacityInGB()
public String getName()
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.