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 |
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.
|
long |
getHits()
Gets the count of how many time this cache entry has been accessed.
|
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.
|
getCreationTime
K 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 getHits()
getHits
in interface EvictableEntryView<K,V>
Object getExpiryPolicy()
null
if there is noneCopyright © 2021 Hazelcast, Inc.. All rights reserved.