| 255 | } |
| 256 | |
| 257 | void LibCache::RemoveEntry(const string& hdfs_lib_file) { |
| 258 | unique_lock<mutex> lib_cache_lock(lock_); |
| 259 | LibMap::iterator it = lib_cache_.find(hdfs_lib_file); |
| 260 | if (it == lib_cache_.end()) return; |
| 261 | RemoveEntryInternal(hdfs_lib_file, it); |
| 262 | } |
| 263 | |
| 264 | void LibCache::RemoveEntryInternal( |
| 265 | const string& hdfs_lib_file, const LibMap::iterator& entry_iter) { |
no test coverage detected