MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / CloneStorageCache

Method CloneStorageCache

src/server.h:1217–1217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1215 bool FSnapshot() const { return m_spdbSnapshotHOLDER != nullptr; }
1216
1217 std::unique_ptr<const StorageCache> CloneStorageCache() { return std::unique_ptr<const StorageCache>(m_spstorage->clone()); }
1218 std::shared_ptr<StorageCache> getStorageCache() { return m_spstorage; }
1219 void bulkDirectStorageInsert(char **rgKeys, size_t *rgcbKeys, char **rgVals, size_t *rgcbVals, size_t celem);
1220

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected