K
- the type of the keyV
- the type of the valuepublic interface EntryView<K,V>
Modifier and Type | Method and Description |
---|---|
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 its store (e.g.
|
long |
getLastUpdateTime()
Returns the last time the value was updated.
|
Long |
getMaxIdle()
Returns the last set max idle time in milliseconds.
|
long |
getTtl()
Returns the last set time to live in milliseconds.
|
V |
getValue()
Returns the value of the entry.
|
long |
getVersion()
Returns the version of the entry.
|
K getKey()
V getValue()
long getCost()
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getCreationTime()
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getExpirationTime()
long getHits()
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getLastAccessTime()
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getLastStoredTime()
MapStore
).
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getLastUpdateTime()
Warning: This method returns -1
if statistics are not enabled or not implemented.
long getVersion()
long getTtl()
Long getMaxIdle()
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.