public interface FileCacheEntry
Modifier and Type | Method and Description |
---|---|
Object |
getDocument()
Get the Document
|
File |
getFile()
Get the file descriptor
|
long |
getLastAccessed()
Get the cache's lastAccessed stamp
|
Date |
getLastModified()
Get the entry's lastModified stamp (which may be stale compared to file's stamp)
|
void |
setDocument(Object document)
Set the Document in the cache
|
void |
setFile(File file)
Set the file descriptor
|
void |
setLastAccessed(long lastAccessed)
Set the cache's last accessed stamp
|
void |
setLastModified(Date lastModified)
Set the cache's last modified stamp
|
File getFile()
void setFile(File file)
file
- the new file descriptorvoid setLastAccessed(long lastAccessed)
lastAccessed
- the cache's last access stamplong getLastAccessed()
void setLastModified(Date lastModified)
lastModified
- the cache's last modified stampDate getLastModified()
void setDocument(Object document)
document
- the document being cachedObject getDocument()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.