MCPcopy Create free account
hub / github.com/apache/kvrocks / Get

Method Get

src/common/lock_manager.h:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48 template <typename Key>
49 std::mutex *Get(const Key &key) {
50 return &mutex_pool_[hash(key)];
51 }
52
53 template <typename Keys>
54 std::vector<std::mutex *> MultiGet(const Keys &keys) {

Callers 1

LockGuardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected