com.hazelcast.cache.impl.record
Class CacheRecordHashMap.EvictableSamplingEntry

java.lang.Object
  extended by com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry<K,V>
      extended by com.hazelcast.util.SampleableConcurrentHashMap.SamplingEntry
          extended by com.hazelcast.cache.impl.record.CacheRecordHashMap.EvictableSamplingEntry
All Implemented Interfaces:
EvictionCandidate, Serializable, Map.Entry<Data,CacheRecord>
Enclosing class:
CacheRecordHashMap

public class CacheRecordHashMap.EvictableSamplingEntry
extends SampleableConcurrentHashMap.SamplingEntry
implements EvictionCandidate

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry
key, value
 
Constructor Summary
CacheRecordHashMap.EvictableSamplingEntry(Data key, CacheRecord value)
           
 
Method Summary
 Object getAccessor()
          The accessor (key or id) of Evictable entry or record or whatever.
 Evictable getEvictable()
          The value of Evictable entry or record or whatever.
 
Methods inherited from class com.hazelcast.util.SampleableConcurrentHashMap.SamplingEntry
equals, hashCode, setValue
 
Methods inherited from class com.hazelcast.util.ConcurrentReferenceHashMap.SimpleEntry
getKey, getValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheRecordHashMap.EvictableSamplingEntry

public CacheRecordHashMap.EvictableSamplingEntry(Data key,
                                                 CacheRecord value)
Method Detail

getAccessor

public Object getAccessor()
Description copied from interface: EvictionCandidate
The accessor (key or id) of Evictable entry or record or whatever.

Specified by:
getAccessor in interface EvictionCandidate
Returns:
the accessor

getEvictable

public Evictable getEvictable()
Description copied from interface: EvictionCandidate
The value of Evictable entry or record or whatever.

Specified by:
getEvictable in interface EvictionCandidate
Returns:
the value


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.