16 storageIterator->second++;
21 keyIdCountersStorage[keyId] = 0;
27 findIteratorBy(keyId);
38 keyIdCountersStorage.erase(storageIterator);
44 return storageIterator->second;
49 return static_cast<unsigned int>(keyIdCountersStorage.size());
53 ReducingPartsCountersStorage::findIteratorBy(
unsigned long long keyId)
56 if (storageIterator != keyIdCountersStorage.end()){
57 return storageIterator;
59 throw NotFoundByKeyException(
"ReducingPartsCountersStorage - not found key " + std::to_string(keyId));