org.compass.needle.gigaspaces.store
Class FileEntry
java.lang.Object
org.compass.needle.gigaspaces.store.FileEntry
- All Implemented Interfaces:
- Externalizable, Serializable, net.jini.core.entry.Entry
public class FileEntry
- extends Object
- implements net.jini.core.entry.Entry, Externalizable
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 |
indexName
public String indexName
fileName
public String fileName
lastModified
public Long lastModified
size
public Long size
FileEntry
public FileEntry()
FileEntry
public FileEntry(String indexName,
String fileName)
FileEntry
public FileEntry(String indexName,
String fileName,
long size)
getIndexName
public String getIndexName()
getFileName
public String getFileName()
getLastModified
public long getLastModified()
getSize
public long getSize()
touch
public void touch()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
__getSpaceIndexedFields
public static String[] __getSpaceIndexedFields()
Copyright (c) 2004-2008 The Compass Project.