MCPcopy Create free account
hub / github.com/bytedance/bolt / cachePool

Method cachePool

bolt/common/memory/Memory.h:309–311  ·  view source on GitHub ↗

Returns the process wide leaf memory pool used for ssd cache.

Source from the content-addressed store, hash-verified

307 /// Returns the process wide leaf memory pool used for disk spilling.
308 MemoryPool* spillPool() {
309 return spillPool_.get();
310 }
311
312 /// Returns the process wide leaf memory pool used for ssd cache.
313 MemoryPool* cachePool() {
314 return cachePool_.get();

Callers 1

tryDestructSafeMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected