public class EternalElementData extends ElementData
ElementcacheDefaultLifespan, creationTime, hitCount, lastAccessTime, lastUpdateTime, value, version| Constructor and Description |
|---|
EternalElementData() |
EternalElementData(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 EternalElementData()
public EternalElementData(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)
ElementDatawriteAttributes in class ElementDataoos - the ObjectOutput object on which the attributes must be writtenprotected void readAttributes(ObjectInput in)
ElementDatareadAttributes in class ElementDatain - the ObjectInput object from which the attributes must be read.Copyright © 2003–2024 Terracotta, Inc.. All rights reserved.