21 #include "hazelcast/util/export.h"
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable: 4251)
41 static constexpr int32_t DEFAULT_PREFETCH_COUNT = 100;
46 static constexpr int64_t DEFAULT_PREFETCH_VALIDITY_MILLIS = 600000;
56 static constexpr int32_t MAXIMUM_PREFETCH_COUNT = 100000;
63 const std::string &get_name()
const;
76 int32_t get_prefetch_count()
const;
90 std::chrono::milliseconds get_prefetch_validity_duration()
const;
112 int32_t prefetch_count_;
113 std::chrono::milliseconds prefetch_validity_duration_;
119 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)