diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2020-05-10 06:48:54 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-05-17 15:16:51 +0000 |
commit | 7e2111ef33fc40959a254bd3109466176ae60718 (patch) | |
tree | 2a31ac8ddccccb24784b161839fa1ca92aeb10bf /src/mongo/util/invalidating_lru_cache.h | |
parent | a7f769dd597e33e988832c43c99912c1d3139c9b (diff) | |
download | mongo-7e2111ef33fc40959a254bd3109466176ae60718.tar.gz |
SERVER-46154 Pull the InProgressLookup outside of ReadThroughCache
The InProgressLookup tracking already has quite complicated logic, so it
seems prudent to pull it into a separate class, outside of the
ReadThroughCache so it can be tested independently.
Diffstat (limited to 'src/mongo/util/invalidating_lru_cache.h')
-rw-r--r-- | src/mongo/util/invalidating_lru_cache.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/util/invalidating_lru_cache.h b/src/mongo/util/invalidating_lru_cache.h index 8c80185f3f8..e1dced30e31 100644 --- a/src/mongo/util/invalidating_lru_cache.h +++ b/src/mongo/util/invalidating_lru_cache.h @@ -119,9 +119,6 @@ class InvalidatingLRUCache { using Cache = LRUCache<Key, std::shared_ptr<StoredValue>>; public: - using key_type = typename Cache::key_type; - using mapped_type = typename Cache::mapped_type; - /** * The 'cacheSize' parameter specifies the maximum size of the cache before the least recently * used entries start getting evicted. It is allowed to be zero, in which case no entries will |