K - the type of the keyV - the type of the valuepublic interface EntryView<K,V> extends EvictableEntryView<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()
getKey in interface EvictableEntryView<K,V>V getValue()
getValue in interface EvictableEntryView<K,V>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.
getCreationTime in interface EvictableEntryView<K,V>long getExpirationTime()
long getHits()
 Warning: This method returns -1 if statistics are not enabled or not implemented.
getHits in interface EvictableEntryView<K,V>long getLastAccessTime()
 Warning: This method returns -1 if statistics are not enabled or not implemented.
getLastAccessTime in interface EvictableEntryView<K,V>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 © 2023 Hazelcast, Inc.. All rights reserved.