21 #include "hazelcast/client/config/eviction_policy.h"
22 #include "eviction_strategy_type.h"
23 #include "eviction_strategy_type.h"
25 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
27 #pragma warning(disable: 4251)
73 static constexpr int32_t DEFAULT_MAX_ENTRY_COUNT = INT32_MAX;
78 static constexpr
max_size_policy DEFAULT_MAX_SIZE_POLICY = max_size_policy::ENTRY_COUNT;
83 static constexpr eviction_policy DEFAULT_EVICTION_POLICY = eviction_policy::LRU;
87 int32_t get_size()
const;
95 eviction_policy get_eviction_policy()
const;
99 eviction_strategy_type get_eviction_strategy_type()
const;
101 friend std::ostream HAZELCAST_API &operator<<(std::ostream &out,
const eviction_config &config);
106 eviction_policy eviction_policy_;
113 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Configuration for eviction.
max_size_policy
Maximum Size Policy.