public class NonEternalElementData extends ElementData
ElementcacheDefaultLifespan, creationTime, hitCount, lastAccessTime, lastUpdateTime, value, version| Constructor and Description |
|---|
NonEternalElementData() |
NonEternalElementData(Element element) |
| Modifier and Type | Method and Description |
|---|---|
Element |
createElement(Object key)
This method should return the
Element object constructed from fields of this ElementData. |
protected void |
readAttributes(ObjectInput in)
The subclasses must implement this method to read any subclass specific attributes while deserialization
It will be called when this object is being deserialized. |
protected void |
writeAttributes(ObjectOutput oos)
The subclasses must implement this method to persist any subclass specific attribute while serialization
It will be called when this object is being serialized. |
getCreateTime, getLastAccessedTime, getValue, readExternal, setLastAccessedTimeInternal, updateTimestamps, writeExternalpublic NonEternalElementData()
public NonEternalElementData(Element element)
public Element createElement(Object key)
ElementDataElement object constructed from fields of this ElementData.createElement in class ElementDatakey - the key which the returned Element object should have.protected void writeAttributes(ObjectOutput oos) throws IOException
ElementDatawriteAttributes in class ElementDataoos - the ObjectOutput object on which the attributes must be writtenIOExceptionprotected void readAttributes(ObjectInput in) throws IOException
ElementDatareadAttributes in class ElementDatain - the ObjectInput object from which the attributes must be read.IOExceptionCopyright © 2003–2024 Terracotta, Inc.. All rights reserved.