|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetaData
| Method Summary | |
|---|---|
long |
getCreated()
Get the timestamp when the entry was created. |
long |
getExpiry()
Get the timestamp when the entry expires. |
long |
getHitCount()
Get the number of hits. |
long |
getLastAccess()
Get the timestamp when the entry was last accessed. |
long |
getMaxIdleTime()
Get the maximum time that the entry may idle (not being accessed) before being evicted (in milliseconds). |
boolean |
isExpired()
Check if the entry is expired. |
boolean |
isIdledAway()
Check if the entry has not been accessed within the idle period. |
void |
update()
Update the entry after a cache hit. |
| Method Detail |
|---|
boolean isExpired()
boolean isIdledAway()
long getExpiry()
long getMaxIdleTime()
void update()
long getHitCount()
long getLastAccess()
long getCreated()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||