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

Method SetLastRandomKeyCursor

src/server/server.cc:1378–1381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376}
1377
1378void Server::SetLastRandomKeyCursor(const std::string &cursor) {
1379 std::lock_guard<std::mutex> guard(last_random_key_cursor_mu_);
1380 last_random_key_cursor_ = cursor;
1381}
1382
1383int64_t Server::GetCachedUnixTime() {
1384 if (unix_time_secs.load() == 0) {

Callers 1

ExecuteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected