| 1376 | } |
| 1377 | |
| 1378 | void 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 | |
| 1383 | int64_t Server::GetCachedUnixTime() { |
| 1384 | if (unix_time_secs.load() == 0) { |