|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.opencms.file.CmsCachedObject
Defines one individual object stored in the DBCacheFile and method to access it
| Constructor Summary | |
CmsCachedObject(Object contents)
Creates a new CmsCachedObject. |
|
CmsCachedObject(Object contents,
long timestamp)
Creates a new CmsCachedObject. |
|
| Method Summary | |
Object |
clone()
Clones the CachedObject. |
Object |
getContents()
Gets the contents of this CmsCacheObject. |
long |
getTimestamp()
Gets the last access time for this CmsCacheObject. |
void |
setTimestamp()
Sets the last access time for this CmsCacheObject. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CmsCachedObject(Object contents)
contents - The object to be stored in the CmsCache.
public CmsCachedObject(Object contents,
long timestamp)
contents - The object to be stored in the CmsCache.timestamp - The timestamp for the new Object.| Method Detail |
public Object clone()
clone in class Objectpublic Object getContents()
public long getTimestamp()
public void setTimestamp()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||