MCPcopy Create free account
hub / github.com/facebook/CacheLib / setDevice

Method setDevice

cachelib/navy/Factory.cpp:289–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 }
288
289 void setDevice(std::unique_ptr<Device> device) override {
290 config_.device = std::move(device);
291 }
292
293 void setPersistParams(const NavyPersistParams& params) override {
294 config_.persistParams = params;

Callers 2

createNavyCacheFunction · 0.45
createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected