K
- keyV
- 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 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
|
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()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.