16 #ifndef HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTABLESTORE_H_
17 #define HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTABLESTORE_H_
21 #include <boost/shared_ptr.hpp>
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251) //for dll export
32 template<
typename MAPKEY,
typename MAPVALUE,
typename A,
typename E>
35 template<
typename A,
typename E>
45 template<
typename MAPKEY,
typename MAPVALUE,
typename A,
typename E>
71 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Interface for store implementations that holds Evictable entries to evict.
Definition: EvictableStore.h:46
Interface for entries, records or whatever that can be evicted via its accessor (key or id)...
Definition: EvictableStore.h:36
Interface for entries, records or whatever that can be evictable via its accessor (key or id)...
Definition: EvictableStore.h:33
virtual int evict(std::vector< boost::shared_ptr< EvictionCandidate< MAPKEY, MAPVALUE, A, E > > > *evictionCandidates, EvictionListener< A, E > *evictionListener)
The evict method is called by the EvictionStrategy to eventually evict, by the policy, selected candidates from the internal data structures.
Definition: EvictableStore.h:59
Definition: MapEntryView.h:32