com.hazelcast.cache.impl.eviction
Interface EvictionCandidate<A,E extends Evictable>

Type Parameters:
A - Type of the accessor
E - Type of the Evictable value
All Known Implementing Classes:
CacheRecordHashMap.EvictableSamplingEntry

public interface EvictionCandidate<A,E extends Evictable>

Interface for entries, records or whatever that can be evictable via its accessor (key or id).


Method Summary
 A getAccessor()
          The accessor (key or id) of Evictable entry or record or whatever.
 E getEvictable()
          The value of Evictable entry or record or whatever.
 

Method Detail

getAccessor

A getAccessor()
The accessor (key or id) of Evictable entry or record or whatever.

Returns:
the accessor

getEvictable

E getEvictable()
The value of Evictable entry or record or whatever.

Returns:
the value


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