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

Method iterate_threadsafe

src/snapshot.cpp:548–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548bool redisDbPersistentDataSnapshot::iterate_threadsafe(std::function<bool(const char*, robj_roptr o)> fn, bool fKeyOnly, bool fCacheOnly) const
549{
550 return iterate_threadsafe_core(fn, fKeyOnly, fCacheOnly, true);
551}
552
553bool redisDbPersistentDataSnapshot::iterate_threadsafe_core(std::function<bool(const char*, robj_roptr o)> &fn, bool fKeyOnly, bool fCacheOnly, bool fFirst) const
554{

Callers 5

iterateMethod · 0.80
keysCommandCoreFunction · 0.80
rdbSaveRioFunction · 0.80
computeDatasetDigestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected