public interface MetaData extends Serializable
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean isExpired()
boolean isIdledAway()
long getExpiry()
long getMaxIdleTime()
void update()
long getHitCount()
long getLastAccess()
long getCreated()
Copyright © 2013 dontdrinkandroot. All Rights Reserved.