| |
|
| java.lang.Object org.apache.jetspeed.cache.file.FileCacheEntryImpl
FileCacheEntryImpl | public class FileCacheEntryImpl implements FileCacheEntry(Code) | | FileCache entry keeps the cached content along with last access information.
author: David S. Taylor David Sean Taylor version: $Id: FileCacheEntryImpl.java 516448 2007-03-09 16:25:47Z ate $ |
lastAccessed | protected long lastAccessed(Code) | | |
FileCacheEntryImpl | public FileCacheEntryImpl(File file, Object document)(Code) | | Constructs a FileCacheEntry object
Parameters: document - The user specific content being cached Parameters: lastModified - The document's last modified stamp |
getDocument | public Object getDocument()(Code) | | Get the Document
the document being cached |
getFile | public File getFile()(Code) | | Get the file descriptor
the file descriptor |
getLastAccessed | public long getLastAccessed()(Code) | | Get the cache's lastAccessed stamp
the cache's last accessed stamp |
getLastModified | public Date getLastModified()(Code) | | Get the entry's lastModified stamp (which may be stale compared to file's stamp)
the last modified stamp |
setDocument | public void setDocument(Object document)(Code) | | Set the Document in the cache
Parameters: document - the document being cached |
setFile | public void setFile(File file)(Code) | | Set the file descriptor
Parameters: file - the new file descriptor |
setLastAccessed | public void setLastAccessed(long lastAccessed)(Code) | | Set the cache's last accessed stamp
Parameters: lastAccessed - the cache's last access stamp |
setLastModified | public void setLastModified(Date lastModified)(Code) | | Set the cache's last modified stamp
Parameters: lastModified - the cache's last modified stamp |
|
|
|