14 #ifndef REDUCINGHANDLER_HPP_
15 #define REDUCINGHANDLER_HPP_
25 #include <Poco/SharedPtr.h>
33 const Poco::SharedPtr<ReducingPartsCountersStorageIf>& reducingPartsCountersStorage,
34 const Poco::SharedPtr<ReduceAdditionsStorageIf>& reduceAdditionsStorage,
35 const Poco::SharedPtr<TaskReducersManagerFactoryIf> &taskReducersManagerFactory,
36 const Poco::SharedPtr<ReducingOutputMessageBuilderIf>& reducingOutputMessageBuilder,
37 const Poco::SharedPtr<SupportNotifierIf>& supportNotifier);
41 Poco::SharedPtr<reduce_types::ReducingInputMessage>& reducingInputMessage);
42 Poco::SharedPtr<reduce_types::ReducingOutputMessage>
makeReducing(
unsigned long long itemId);
51 void getExceededTTLTasks(
unsigned int maxTaskNumber, std::vector<unsigned long long>& exceededTTLTasks,
55 Poco::SharedPtr<ReducingPartsCountersStorageIf> _reducingPartsCountersStorage;
56 Poco::SharedPtr<ReduceAdditionsStorageIf> _reduceAdditionsStorage;
57 Poco::SharedPtr<TaskReducersManagerFactoryIf> _taskReducersManagerFactory;
58 Poco::SharedPtr<ReducingOutputMessageBuilderIf> _reducingOutputMessageBuilder;
59 Poco::SharedPtr<SupportNotifierIf> _supportNotifier;