#include <unordered_map>
#include "rocksdb/slice.h"
-
#include "utilities/persistent_cache/block_cache_tier_file.h"
#include "utilities/persistent_cache/hash_table.h"
#include "utilities/persistent_cache/hash_table_evictable.h"
}
};
- typedef EvictableHashTable<BlockCacheFile, BlockCacheFileHash,
- BlockCacheFileEqual>
- CacheFileIndexType;
+ using CacheFileIndexType =
+ EvictableHashTable<BlockCacheFile, BlockCacheFileHash,
+ BlockCacheFileEqual>;
// Block Lookup Index
//
}
};
- typedef HashTable<BlockInfo*, Hash, Equal> BlockIndexType;
+ using BlockIndexType = HashTable<BlockInfo*, Hash, Equal>;
CacheFileIndexType cache_file_index_;
BlockIndexType block_index_;