You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Peter Dillinger
41a7fbf758
Avoid long parameter lists configuring Caches ( #11386 )
...
Summary:
For better clarity, encouraging more options explicitly specified using fields rather than positionally via constructor parameter lists. Simplifies code maintenance as new fields are added. Deprecate some cases of the confusing pattern of NewWhatever() functions returning shared_ptr.
Net reduction of about 70 source code lines (including comments).
Pull Request resolved: https://github.com/facebook/rocksdb/pull/11386
Test Plan: existing tests
Reviewed By: ajkr
Differential Revision: D45059075
Pulled By: pdillinger
fbshipit-source-id: d53fa09b268024f9c55254bb973b6c69feebf41a
2 years ago
..
cache.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
cache_bench.cc
Add (& fix) some simple source code checks ( #8821 )
3 years ago
cache_bench_tool.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
cache_entry_roles.cc
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_entry_roles.h
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_entry_stats.h
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
cache_helpers.cc
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_helpers.h
Put Cache and CacheWrapper in new public header ( #11192 )
2 years ago
cache_key.cc
Put Cache and CacheWrapper in new public header ( #11192 )
2 years ago
cache_key.h
Derive cache keys from SST unique IDs ( #10394 )
2 years ago
cache_reservation_manager.cc
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
cache_reservation_manager.h
Major Cache refactoring, CPU efficiency improvement ( #10975 )
2 years ago
cache_reservation_manager_test.cc
Print stack traces on frozen tests in CI ( #10828 )
2 years ago
cache_test.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
charged_cache.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
charged_cache.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
clock_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
clock_cache.h
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
compressed_secondary_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
compressed_secondary_cache.h
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
compressed_secondary_cache_test.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
lru_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
lru_cache.h
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
lru_cache_test.cc
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
secondary_cache.cc
Simplify tracking entries already in SecondaryCache ( #11299 )
2 years ago
secondary_cache_adapter.cc
Re-clarify SecondaryCache API ( #11316 )
2 years ago
secondary_cache_adapter.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago
sharded_cache.cc
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
sharded_cache.h
Avoid long parameter lists configuring Caches ( #11386 )
2 years ago
typed_cache.h
HyperClockCache support for SecondaryCache, with refactoring ( #11301 )
2 years ago