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, toString
public QueryCacheEvictableSamplingEntry(Data key, QueryCacheRecord value)
public Object getAccessor()
EvictionCandidate
Evictable
entry or record or whatever.getAccessor
in interface EvictionCandidate
Evictable
entry or record or whateverpublic Evictable getEvictable()
EvictionCandidate
Evictable
entry or record or whatever.getEvictable
in interface EvictionCandidate
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 © 2018 Hazelcast, Inc.. All Rights Reserved.