public class QueryCacheRecordHashMap.QueryCacheEvictableSamplingEntry extends SampleableConcurrentHashMap.SamplingEntry<Data,QueryCacheRecord> implements EvictionCandidate
key, value| Constructor and Description |
|---|
QueryCacheEvictableSamplingEntry(Data key,
QueryCacheRecord value) |
| Modifier and Type | Method and Description |
|---|---|
long |
getAccessHit()
Gets the access hit count of this
EvictableEntryView. |
Object |
getAccessor()
The accessor (key or id) of
Evictable entry or record or whatever. |
long |
getCreationTime()
Gets the creation time of this
EvictableEntryView in milliseconds. |
Evictable |
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 QueryCacheEvictableSamplingEntry(Data key, QueryCacheRecord value)
public Object getAccessor()
EvictionCandidateEvictable entry or record or whatever.getAccessor in interface EvictionCandidateEvictable entry or record or whateverpublic Evictable getEvictable()
EvictionCandidateEvictable entry or record or whatever.getEvictable in interface EvictionCandidateEvictable 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 © 2017 Hazelcast, Inc.. All Rights Reserved.