org.compass.needle.coherence
Class FileHeaderValue
java.lang.Object
org.compass.needle.coherence.FileHeaderValue
- All Implemented Interfaces:
- com.tangosol.io.ExternalizableLite, Serializable
public class FileHeaderValue
- extends Object
- implements com.tangosol.io.ExternalizableLite
A file entry holds the meta data of a file, without its content.
- Author:
- kimchy
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileHeaderValue
public FileHeaderValue()
FileHeaderValue
public FileHeaderValue(long lastModified,
long size)
getLastModified
public long getLastModified()
getSize
public long getSize()
touch
public void touch()
readExternal
public void readExternal(DataInput in)
throws IOException
- Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
- Throws:
IOException
writeExternal
public void writeExternal(DataOutput out)
throws IOException
- Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
- Throws:
IOException
Copyright (c) 2004-2008 The Compass Project.