| 23 | namespace facebook::cachelib::cachebench { |
| 24 | namespace { |
| 25 | void validate(const CacheConfig& config) { |
| 26 | if (config.numPools > 1) { |
| 27 | throw std::invalid_argument( |
| 28 | "RAMCacheComponent does not support multiple pools"); |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | void setupConfig(LruAllocatorConfig& allocatorConfig, |
| 33 | RAMCacheComponent::PoolConfig& poolConfig, |
no outgoing calls
no test coverage detected