|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the key typeV
- the value typepublic static interface Cache.Entry<K,V>
Represent a mapping of key to value held in a Cache
Method Summary | |
---|---|
long |
getCreationTime(java.util.concurrent.TimeUnit unit)
Accessor to the creation time of this mapping. |
float |
getHitRate(java.util.concurrent.TimeUnit unit)
Accessor to the hit rate of this mapping. |
K |
getKey()
Accessor to the key of this mapping |
long |
getLastAccessTime(java.util.concurrent.TimeUnit unit)
Accessor to the last access time of this mapping. |
V |
getValue()
Accessor to the value of this mapping |
Method Detail |
---|
K getKey()
V getValue()
long getCreationTime(java.util.concurrent.TimeUnit unit)
unit
- the timeUnit to return the creation time in
long getLastAccessTime(java.util.concurrent.TimeUnit unit)
unit
- the timeUnit to return the last access time in
float getHitRate(java.util.concurrent.TimeUnit unit)
unit
- the time unit to return the rate in
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |