| 51 | } |
| 52 | |
| 53 | void PutCacheValue(std::string_view key, std::string_view value) |
| 54 | { |
| 55 | std::scoped_lock locker(_cache_lock); |
| 56 | auto it = _cache.emplace(key, value); |
| 57 | if (!it.second) |
| 58 | it.first->second = value; |
| 59 | } |
| 60 | |
| 61 | bool DeleteCacheValue(std::string_view key, std::string& value) |
| 62 | { |
no test coverage detected