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
DRCETaskReducersManager.hpp
Go to the documentation of this file.
1
14
#ifndef DRCETASKREDUCERSMANAGER_HPP_
15
#define DRCETASKREDUCERSMANAGER_HPP_
16
17
#include "
TaskReducersManagerIf.hpp
"
18
#include "
Exceptions.hpp
"
19
#include "
DRCEResultData.hpp
"
20
#include <map>
21
#include <Poco/SharedPtr.h>
22
23
using
HCE::drce::DRCEResultData
;
24
25
namespace
HCE {
26
namespace
drce{
27
namespace
reduce_task {
28
29
class
DRCETaskReducersManager
:
public
HCE::reduce::additions::TaskReducersManagerIf
{
30
public
:
31
virtual
~DRCETaskReducersManager
();
32
33
types::MessageType
getType
();
34
bool
isReducerExist
(
unsigned
long
long
reduceTaskId);
35
void
createReducer
(
unsigned
long
long
reduceTaskId);
36
void
addDataInReducer
(
unsigned
long
long
reduceTaskId,
const
std::string& json);
37
std::string
runReduceTaskForTaskId
(
unsigned
long
long
reduceTaskId);
38
void
deleteReducerBy
(
unsigned
long
long
reduceTaskId);
39
40
private
:
41
std::map< unsigned long long, Poco::SharedPtr< DRCEResultData > > taskReduceResults_;
42
};
43
44
}
45
}
46
}
47
48
#endif
sources
utils
reduceDRCE
src
DRCETaskReducersManager.hpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2