Class LRUEvictionAlgorithm

class LRUEvictionAlgorithm : public CacheEvictionAlgorithm

Public Functions

~LRUEvictionAlgorithm()
const ChunkKey evictNextChunk()
void touchChunk(const ChunkKey &key)
void removeChunk(const ChunkKey &key)
std::string dumpEvictionQueue()

Private Members

std::list<ChunkKey> cache_items_list_
std::map<const ChunkKey, std::list<ChunkKey>::iterator> cache_items_map_
mapd_shared_mutex cache_mutex_