public static class OSDetails.OSDriveDetails extends Object implements Externalizable
| 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) |
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 ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.