]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
refactor constructor of LRUCacheShard
authorYi Wu <yiwu@fb.com>
Thu, 24 May 2018 01:53:17 +0000 (18:53 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 24 May 2018 01:57:42 +0000 (18:57 -0700)
commit7a99c04311e781915dbd23c2e4e3c23257290cb4
tree90fcb2a9cee46cc79c90c9f5c83d49f480a5a9b0
parent01bcc348966566e9cd465a04d8f620d7b68f7785
refactor constructor of LRUCacheShard

Summary:
Update LRUCacheShard constructor so that adding new params to it don't need to add extra SetXXX() methods.
Closes https://github.com/facebook/rocksdb/pull/3896

Differential Revision: D8128618

Pulled By: yiwu-arbug

fbshipit-source-id: 6afa715de1493a50de413678761a765e3af9b83b
cache/lru_cache.cc
cache/lru_cache.h
cache/lru_cache_test.cc