hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TaskReducersManagerIf.hpp
Go to the documentation of this file.
1 
15 #ifndef SPHINXTASKREDUCERSMANAGERIF_HPP_
16 #define SPHINXTASKREDUCERSMANAGERIF_HPP_
17 
18 #include <string>
19 #include "MessageType.hpp"
20 
21 namespace HCE{
22 namespace reduce{
23 namespace additions{
24 
26 public:
28 
29  virtual types::MessageType getType() = 0;
30  virtual bool isReducerExist(unsigned long long reduceTaskId) = 0;
31  virtual void createReducer(unsigned long long reduceTaskId) = 0;
32  virtual void addDataInReducer(unsigned long long reduceTaskId, const std::string& json) = 0;
33  virtual std::string runReduceTaskForTaskId(unsigned long long reduceTaskId) = 0;
34  virtual void deleteReducerBy(unsigned long long reduceTaskId) = 0;
35 };
36 
37 }
38 }
39 }
40 
41 #endif