K - the type of the keyV - the type of the valuepublic interface CacheEntryView<K,V> extends EvictableEntryView<K,V>
| Modifier and Type | Method and Description |
|---|---|
long |
getAccessHit()
Gets the count of how many time this cache entry has been accessed.
|
long |
getExpirationTime()
Gets the expiration time in milliseconds of the cache entry.
|
Object |
getExpiryPolicy()
Gets the expiry policy associated with this entry if there is one.
|
K |
getKey()
Gets the key of the cache entry.
|
long |
getLastAccessTime()
Gets the last access time in milliseconds of the cache entry.
|
V |
getValue()
Gets the value of the cache entry.
|
getCreationTimeK getKey()
getKey in interface EvictableEntryView<K,V>V getValue()
getValue in interface EvictableEntryView<K,V>long getExpirationTime()
long getLastAccessTime()
getLastAccessTime in interface EvictableEntryView<K,V>long getAccessHit()
getAccessHit in interface EvictableEntryView<K,V>Object getExpiryPolicy()
null if there is noneCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.