14 #ifndef REDUCEADDITIONSSTORAGE_HPP_
15 #define REDUCEADDITIONSSTORAGE_HPP_
31 Poco::SharedPtr<additions::TaskReducersManagerIf>
findBy (
unsigned long long secondKey);
32 void deleteBy(
unsigned long long secondKey);
34 Poco::SharedPtr<additions::TaskReducersManagerIf> taskReducersManager);
35 void addWith(
unsigned long long secondKey,
36 Poco::SharedPtr<additions::TaskReducersManagerIf> taskReducersManager);
39 std::map<HCE::types::MessageType, Poco::SharedPtr<additions::TaskReducersManagerIf> >_storage;
40 std::map<unsigned long long, Poco::SharedPtr<additions::TaskReducersManagerIf> >_secondKeyStorage;
42 typedef std::map<HCE::types::MessageType, Poco::SharedPtr<additions::TaskReducersManagerIf> >::
43 iterator StorageIterator;
44 typedef std::map<unsigned long long, Poco::SharedPtr<additions::TaskReducersManagerIf> >::
45 iterator SecondKeyStorageIterator;
48 SecondKeyStorageIterator findIteratorBy(
unsigned long long secondKey);