|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- keyV
- valuepublic interface EntryView<K,V>
EntryView represents a readonly view of a map entry.
Method Summary | |
---|---|
long |
getCost()
Returns the cost (in bytes) of the entry. |
long |
getCreationTime()
Returns the creation time of the entry. |
long |
getExpirationTime()
Returns the expiration time of the entry. |
long |
getHits()
Returns number of hits of the entry. |
K |
getKey()
Returns the key of the entry. |
long |
getLastAccessTime()
Returns the last access time for the entry. |
long |
getLastStoredTime()
Returns the last time the value was flushed to mapstore. |
long |
getLastUpdateTime()
Returns the last time the value was updated. |
long |
getTtl()
Returns the last set time to live second. |
V |
getValue()
Returns the value of the entry. |
long |
getVersion()
Returns the version of the entry |
Method Detail |
---|
K getKey()
V getValue()
long getCost()
Warning:
This method returns -1 if statistics is not enabled.
long getCreationTime()
Warning:
This method returns -1 if statistics is not enabled.
long getExpirationTime()
long getHits()
Warning:
ˆ This method returns -1 if statistics is not enabled.
long getLastAccessTime()
Warning:
ˆ This method returns -1 if statistics is not enabled.
long getLastStoredTime()
Warning:
ˆ This method returns -1 if statistics is not enabled.
long getLastUpdateTime()
Warning:
ˆ This method returns -1 if statistics is not enabled.
long getVersion()
long getTtl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |