33 :
public DataRecycler<std::optional<AutoTunerMetaInfo>, EMPTY_META_INFO> {
40 std::numeric_limits<size_t>::max(),
41 std::numeric_limits<size_t>::max(),
48 std::optional<EMPTY_META_INFO> meta_info = std::nullopt)
override;
51 std::optional<AutoTunerMetaInfo> item,
56 std::optional<EMPTY_META_INFO> meta_info = std::nullopt)
override;
64 std::unordered_set<QueryPlanHash>& key_set,
68 std::string
toString()
const override;
75 std::lock_guard<std::mutex>& lock,
76 std::optional<EMPTY_META_INFO> meta_info = std::nullopt)
const override;
83 std::lock_guard<std::mutex>& lock,
84 std::optional<EMPTY_META_INFO> meta_info = std::nullopt)
override;
91 std::lock_guard<std::mutex>& lock,
92 std::optional<EMPTY_META_INFO> meta_info = std::nullopt)
override {
void putItemToCache(QueryPlanHash key, std::optional< AutoTunerMetaInfo > item, CacheItemType item_type, DeviceIdentifier device_identifier, size_t item_size, size_t compute_time, std::optional< EMPTY_META_INFO > meta_info=std::nullopt) override
void cleanupCacheForInsertion(CacheItemType item_type, DeviceIdentifier device_identifier, size_t required_size, std::lock_guard< std::mutex > &lock, std::optional< EMPTY_META_INFO > meta_info=std::nullopt) override
void clearCache() override
void removeItemFromCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::lock_guard< std::mutex > &lock, std::optional< EMPTY_META_INFO > meta_info=std::nullopt) override
constexpr DeviceIdentifier PARAM_CACHE_DEVICE_IDENTIFIER
void markCachedItemAsDirty(size_t table_key, std::unordered_set< QueryPlanHash > &key_set, CacheItemType item_type, DeviceIdentifier device_identifier) override
void initCache() override
bool hasItemInCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::lock_guard< std::mutex > &lock, std::optional< EMPTY_META_INFO > meta_info=std::nullopt) const override
std::optional< AutoTunerMetaInfo > getItemFromCache(QueryPlanHash key, CacheItemType item_type, DeviceIdentifier device_identifier, std::optional< EMPTY_META_INFO > meta_info=std::nullopt) override
BoundingBoxIntersectTuningParamRecycler()
static constexpr DeviceIdentifier CPU_DEVICE_IDENTIFIER
std::string toString() const override