61 std::string ret =
"Eviction queue:\n{";
heavyai::shared_mutex cache_mutex_
std::vector< int > ChunkKey
std::list< ChunkKey > cache_items_list_
const ChunkKey evictNextChunk() override
void touchChunk(const ChunkKey &) override
std::map< const ChunkKey, std::list< ChunkKey >::iterator > cache_items_map_
void removeChunk(const ChunkKey &) override
std::string show_chunk(const ChunkKey &key)
std::shared_lock< T > shared_lock
std::string dumpEvictionQueue()
std::unique_lock< T > unique_lock
This file includes the class specification for the Least Recently Used cache eviction algorithm used ...