public class HeapNearCacheRecordMap.NearCacheEvictableSamplingEntry extends SampleableConcurrentHashMap.SamplingEntry<K,V> implements EvictionCandidate<K,V>
key, value| Modifier and Type | Method and Description |
|---|---|
long |
getAccessHit()
Gets the access hit count of this
EvictableEntryView. |
K |
getAccessor()
The accessor (key or ID) of
Evictable entry or record or whatever. |
long |
getCreationTime()
Gets the creation time of this
EvictableEntryView in milliseconds. |
V |
getEvictable()
The value of
Evictable entry or record or whatever. |
Object |
getKey()
Gets the key of the entry.
|
long |
getLastAccessTime()
Gets the latest access time difference of this
EvictableEntryView in milliseconds. |
Object |
getValue()
Gets the value of the entry.
|
equals, getEntryKey, getEntryValue, hashCode, toStringpublic K getAccessor()
EvictionCandidateEvictable entry or record or whatever.getAccessor in interface EvictionCandidate<K,V extends NearCacheRecord>Evictable entry or record or whateverpublic V getEvictable()
EvictionCandidateEvictable entry or record or whatever.getEvictable in interface EvictionCandidate<K,V extends NearCacheRecord>Evictable entry or record or whateverpublic Object getKey()
EvictableEntryViewgetKey in interface EvictableEntryViewpublic Object getValue()
EvictableEntryViewgetValue in interface EvictableEntryViewpublic long getCreationTime()
EvictableEntryViewEvictableEntryView in milliseconds.getCreationTime in interface EvictableEntryViewEvictableEntryView in millisecondspublic long getLastAccessTime()
EvictableEntryViewEvictableEntryView in milliseconds.getLastAccessTime in interface EvictableEntryViewEvictableEntryView in millisecondspublic long getAccessHit()
EvictableEntryViewEvictableEntryView.getAccessHit in interface EvictableEntryViewEvictableEntryViewCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.