MCPcopy Create free account
hub / github.com/OpenAtomFoundation/pikiwidb / Open

Method Open

tools/pika_migrate/src/cache/src/cache.cc:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69void RedisCache::ResetHitAndMissNum(void) { RcResetHitAndMissNum(); }
70
71Status RedisCache::Open(void) {
72 cache_ = RcCreateCacheHandle();
73 if (nullptr == cache_) {
74 return Status::Corruption("RcCreateCacheHandle failed!");
75 }
76
77 return Status::OK();
78}
79
80int32_t RedisCache::ActiveExpireCycle(void) { return RcActiveExpireCycle(cache_); }
81

Callers 10

mainFunction · 0.45
doParseFunction · 0.45
NewFileDiscoveryFunction · 0.45
RetransmitMethod · 0.45
NewParseRDBMethod · 0.45
InitWithoutLockMethod · 0.45
DBMethod · 0.45
FlushDBWithoutLockMethod · 0.45
ChangeDbMethod · 0.45
RetransmitDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected