public class GridGgfsStatus extends Object implements Externalizable
| Constructor and Description |
|---|
GridGgfsStatus()
Empty constructor required by
Externalizable. |
GridGgfsStatus(long spaceUsed,
long spaceTotal) |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
long |
spaceTotal() |
long |
spaceUsed() |
void |
writeExternal(ObjectOutput out) |
public GridGgfsStatus()
Externalizable.public GridGgfsStatus(long spaceUsed,
long spaceTotal)
spaceUsed - Used space in GGFS.spaceTotal - Total space available in GGFS.public long spaceTotal()
public long spaceUsed()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2014. All rights reserved.