16 #ifndef HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONCANDIDATE_H_
17 #define HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONCANDIDATE_H_
20 #include <boost/shared_ptr.hpp>
22 #include "hazelcast/client/internal/eviction/EvictableEntryView.h"
24 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
26 #pragma warning(disable: 4251) //for dll export
39 template <
typename MAPKEY,
typename MAPVALUE,
typename A,
typename E>
40 class EvictionCandidate :
public EvictableEntryView<MAPKEY, MAPVALUE> {
49 return boost::shared_ptr<A>();
59 return boost::shared_ptr<E>();
67 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
virtual boost::shared_ptr< A > getAccessor() const
The accessor (key or id) of Evictable entry or record or whatever.
Definition: EvictionCandidate.h:47
virtual boost::shared_ptr< E > getEvictable() const
The value of Evictable entry or record or whatever.
Definition: EvictionCandidate.h:57
Definition: MapEntryView.h:32