21 #include "hazelcast/util/export.h"
23 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
25 #pragma warning(disable : 4251)
42 static constexpr int32_t DEFAULT_PREFETCH_COUNT = 100;
47 static constexpr int64_t DEFAULT_PREFETCH_VALIDITY_MILLIS = 600000;
59 static constexpr int32_t MAXIMUM_PREFETCH_COUNT = 100000;
67 const std::string& get_name()
const;
80 int32_t get_prefetch_count()
const;
95 std::chrono::milliseconds get_prefetch_validity_duration()
const;
114 std::chrono::milliseconds duration);
118 int32_t prefetch_count_;
119 std::chrono::milliseconds prefetch_validity_duration_;
125 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)