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

Method GetLastRandomKeyCursor

src/server/server.cc:1371–1376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369}
1370
1371std::string Server::GetLastRandomKeyCursor() {
1372 std::string cursor;
1373 std::lock_guard<std::mutex> guard(last_random_key_cursor_mu_);
1374 cursor = last_random_key_cursor_;
1375 return cursor;
1376}
1377
1378void Server::SetLastRandomKeyCursor(const std::string &cursor) {
1379 std::lock_guard<std::mutex> guard(last_random_key_cursor_mu_);

Callers 1

ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected