MCPcopy Create free account
hub / github.com/facebook/CacheLib / getPoolIds

Method getPoolIds

cachelib/object_cache/ObjectCacheBase.h:127–129  ·  view source on GitHub ↗

return a list of all valid pool ids.

Source from the content-addressed store, hash-verified

125
126 // return a list of all valid pool ids.
127 std::set<PoolId> getPoolIds() const override {
128 return l1Cache_->getPoolIds();
129 }
130
131 // returns the pool's name by its poolId.
132 std::string getPoolName(PoolId poolId) const override {

Callers 1

testSetShardNameMethod · 0.45

Calls

no outgoing calls

Tested by 1

testSetShardNameMethod · 0.36