public static class GridFile.Metadata extends Object implements Externalizable
Constructor and Description |
---|
GridFile.Metadata() |
GridFile.Metadata(int length,
long modificationTime,
int chunkSize,
byte flags) |
Modifier and Type | Method and Description |
---|---|
int |
getChunkSize() |
int |
getLength() |
long |
getModificationTime() |
boolean |
isDirectory() |
boolean |
isFile() |
void |
readExternal(ObjectInput in) |
void |
setLength(int length) |
void |
setModificationTime(long modificationTime) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public static final byte FILE
public static final byte DIR
public GridFile.Metadata()
public GridFile.Metadata(int length, long modificationTime, int chunkSize, byte flags)
public int getLength()
public void setLength(int length)
public long getModificationTime()
public void setModificationTime(long modificationTime)
public int getChunkSize()
public boolean isFile()
public boolean isDirectory()
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 © 2012 JBoss by Red Hat. All Rights Reserved.