MCPcopy Create free account
hub / github.com/baidu/tera / SetPersistentCacheSize

Method SetPersistentCacheSize

src/tabletnode/tabletnode_sysinfo.cc:798–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798void TabletNodeSysInfo::SetPersistentCacheSize(uint64_t size) {
799 MutexLock lock(&mutex_);
800 if (!info_.unique()) {
801 SwitchInfo();
802 }
803 assert(info_.unique());
804 info_->set_persistent_cache_size(size);
805}
806
807void TabletNodeSysInfo::SetStatus(StatusCode status) {
808 MutexLock lock(&mutex_);

Callers 1

InitCacheSystemMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected