16 #ifndef HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONSTRATEGY_H_
17 #define HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONSTRATEGY_H_
21 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
23 #pragma warning(disable: 4251) //for dll export
30 template<
typename MAPKEY,
typename MAPVALUE,
typename A,
typename E>
31 class EvictionPolicyEvaluator;
33 template <
typename A,
typename E>
34 class EvictionListener;
36 class EvictionChecker;
47 template <
typename MAPKEY,
typename MAPVALUE,
typename A,
typename E,
typename S>
66 virtual int evict(S *evictableStore,
79 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Interface for evaluation implementations of com.hazelcast.config.EvictionPolicy.
Definition: EvictionPolicyEvaluator.h:46
Interface for checking about if eviction is required or not.
Definition: EvictionChecker.h:35
Interface for eviction implementations to evict EvictableStore implementations as specified EvictionP...
Definition: EvictionStrategy.h:48
virtual int evict(S *evictableStore, EvictionPolicyEvaluator< MAPKEY, MAPVALUE, A, E > *evictionPolicyEvaluator, EvictionChecker *evictionChecker, EvictionListener< A, E > *evictionListener)
Does eviction if eviction is required by given EvictionChecker.
Definition: EvictionStrategy.h:66
Interface for entries, records or whatever that can be evicted via its accessor (key or id)...
Definition: EvictableStore.h:36
Definition: MapEntryView.h:32