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, toString
public K getAccessor()
EvictionCandidate
Evictable
entry or record or whatever.getAccessor
in interface EvictionCandidate<K,V extends NearCacheRecord>
Evictable
entry or record or whateverpublic V getEvictable()
EvictionCandidate
Evictable
entry or record or whatever.getEvictable
in interface EvictionCandidate<K,V extends NearCacheRecord>
Evictable
entry or record or whateverpublic Object getKey()
EvictableEntryView
getKey
in interface EvictableEntryView
public Object getValue()
EvictableEntryView
getValue
in interface EvictableEntryView
public long getCreationTime()
EvictableEntryView
EvictableEntryView
in milliseconds.getCreationTime
in interface EvictableEntryView
EvictableEntryView
in millisecondspublic long getLastAccessTime()
EvictableEntryView
EvictableEntryView
in milliseconds.getLastAccessTime
in interface EvictableEntryView
EvictableEntryView
in millisecondspublic long getAccessHit()
EvictableEntryView
EvictableEntryView
.getAccessHit
in interface EvictableEntryView
EvictableEntryView
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.