rocksdb/cache
mrambacher 618bf638aa Add Functions to OptionTypeInfo (#6422)
Summary:
Added functions for parsing, serializing, and comparing elements to OptionTypeInfo.  These functions allow all of the special cases that could not be handled directly in the map of OptionTypeInfo to be moved into the map.  Using these functions, every type can be handled via the map rather than special cased.

By adding these functions, the code for handling options can become more standardized (fewer special cases) and (eventually) handled completely by common classes.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6422

Test Plan: pass make check

Reviewed By: siying

Differential Revision: D21269005

Pulled By: zhichao-cao

fbshipit-source-id: 9ba71c721a38ebf9ee88259d60bd81b3282b9077
2020-04-28 18:04:26 -07:00
..
cache_bench.cc Revamp cache_bench to resemble a real workload (#6629) 2020-04-03 10:26:49 -07:00
cache_test.cc Revert the recent cache deleter change (#6620) 2020-03-31 16:11:06 -07:00
cache.cc Add Functions to OptionTypeInfo (#6422) 2020-04-28 18:04:26 -07:00
clock_cache.cc Stats for redundant insertions into block cache (#6681) 2020-04-27 13:20:27 -07:00
clock_cache.h Change RocksDB License 2017-07-15 16:11:23 -07:00
lru_cache_test.cc Replace namespace name "rocksdb" with ROCKSDB_NAMESPACE (#6433) 2020-02-20 12:09:57 -08:00
lru_cache.cc Stats for redundant insertions into block cache (#6681) 2020-04-27 13:20:27 -07:00
lru_cache.h Revert the recent cache deleter change (#6620) 2020-03-31 16:11:06 -07:00
sharded_cache.cc Revert the recent cache deleter change (#6620) 2020-03-31 16:11:06 -07:00
sharded_cache.h Revert the recent cache deleter change (#6620) 2020-03-31 16:11:06 -07:00