HCE project C++ developers source code library
1.1.1
HCE project developer library
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
reduceAdditionCore
src
TaskReducersManagerIf.hpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2