15 return storageIterator->second;
21 storage.erase(storageIterator);
25 Poco::SharedPtr<SphinxTaskReducerIf>& sphinxTaskReducer)
27 storage.insert(std::make_pair(taskId, sphinxTaskReducer));
31 findIteratorBy(
unsigned long long taskId)
34 if (storageIterator != storage.end()){
35 return storageIterator;
38 (
"SphinxTaskReducersStorage - not found key " + std::to_string(taskId));