hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
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
25
class
TaskReducersManagerIf
{
26
public
:
27
virtual
~TaskReducersManagerIf
(){}
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
sources
utils
reduceAdditionCore
src
TaskReducersManagerIf.hpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2