hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ReducingPartsCountersStorageIf.hpp
Go to the documentation of this file.
1 
15 #ifndef REDUCINGPARTSCOUNTERSSTORAGEIF_HPP_
16 #define REDUCINGPARTSCOUNTERSSTORAGEIF_HPP_
17 
18 namespace HCE
19 {
20 namespace reduce
21 {
22 
24 public:
26 
27  virtual bool findBy(unsigned long long keyId) = 0;
28  virtual void deleteBy(unsigned long long keyId) = 0;
29  virtual void addReducingPartsCounterWithKey(unsigned long long keyId) = 0;
30  virtual void incrementBy(unsigned long long keyId) = 0;
31  virtual int getAccumulateReducingParts(unsigned long long keyId) = 0;
32  virtual unsigned int getTotalTasksNumber() = 0;
33 };
34 
35 }
36 }
37 
38 #endif