16 #ifndef HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONCONFIGURATION_H_
17 #define HAZELCAST_CLIENT_INTERNAL_EVICTION_EVICTIONCONFIGURATION_H_
20 #include <boost/shared_ptr.hpp>
22 #include "hazelcast/client/internal/eviction/EvictionStrategyType.h"
23 #include "hazelcast/client/internal/eviction/EvictionPolicyType.h"
25 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
27 #pragma warning(disable: 4251) //for dll export
37 template <
typename K,
typename V>
70 virtual const boost::shared_ptr<EvictionPolicyComparator<K, V> >
getComparator()
const {
72 return boost::shared_ptr<EvictionPolicyComparator<K, V> >();
80 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
virtual EvictionStrategyType::Type getEvictionStrategyType() const =0
Gets the type of eviction strategy.
Type
Definition: EvictionStrategyType.h:35
virtual const boost::shared_ptr< EvictionPolicyComparator< K, V > > getComparator() const
Gets the class name of the configured EvictionPolicyComparator implementation.
Definition: EvictionConfiguration.h:70
virtual EvictionPolicyType getEvictionPolicyType() const =0
Gets the type of eviction policy.
Definition: MapEntryView.h:32
Interface for configuration information about eviction.
Definition: EvictionConfiguration.h:38