Package org.infinispan.io
Class GridFile.Metadata
- java.lang.Object
-
- org.infinispan.io.GridFile.Metadata
-
- All Implemented Interfaces:
Externalizable
,Serializable
- Enclosing class:
- GridFile
public static class GridFile.Metadata extends Object implements Externalizable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
FILE
public static final byte FILE
- See Also:
- Constant Field Values
-
DIR
public static final byte DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLength
public int getLength()
-
setLength
public void setLength(int length)
-
getModificationTime
public long getModificationTime()
-
setModificationTime
public void setModificationTime(long modificationTime)
-
getChunkSize
public int getChunkSize()
-
isFile
public boolean isFile()
-
isDirectory
public boolean isDirectory()
-
toString
public String toString()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
-