|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementEvictionData
Provides pluggable storage and configuration of TTI eviction data.
Method Summary | |
---|---|
boolean |
canParticipateInSerialization()
Indicates whether the data of this element eviction instance can participate in serialization of the element as a whole. |
ElementEvictionData |
clone()
Creates a clone of the eviction data |
long |
getCreationTime()
Get the element's creation time. |
long |
getLastAccessTime()
Gets the last access time. |
void |
resetLastAccessTime(Element element)
Resets the last access time. |
void |
setCreationTime(long creationTime)
Sets the element creation time. |
void |
updateLastAccessTime(long time,
Element element)
Updates the last access time. |
Method Detail |
---|
void setCreationTime(long creationTime)
creationTime
- the new element's creation timelong getCreationTime()
long getLastAccessTime()
Element
will have a last
access time equal to its create time.
void updateLastAccessTime(long time, Element element)
time
- the new last access timeelement
- the element for which the last access time is setvoid resetLastAccessTime(Element element)
element
- the element for which the last access time is setElementEvictionData clone() throws CloneNotSupportedException
CloneNotSupportedException
boolean canParticipateInSerialization()
true
when the data can participate in serialization; or
false
otherwise
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |