edits
[iotcloud.git] / version2 / src / C / CommitPart.h
index 6d179982a424f2b569f55c079bd5f8f7a8a402d7..e0a0d91b4c5f7cc659a298520acf4f761e1f3295 100644 (file)
@@ -2,6 +2,7 @@
 #define COMMITPART_H
 #include "common.h"
 #include "Entry.h"
+#include "Pair.h"
 
 // Max size of the part excluding the fixed size header
 #define CommitPart_MAX_NON_HEADER_SIZE 512
@@ -13,10 +14,10 @@ private:
        int64_t sequenceNumber; // commit sequence number for this arbitrator
        int64_t transactionSequenceNumber;
        int32_t partNumber;     // Parts position in the
-       bool isLastPart;
+       bool fldisLastPart;
        Array<char> *data;
 
-       Pair<int64_t int32_t> *partId;
+       Pair<int64_t, int32_t> *partId;
        Pair<int64_t, int64_t> *commitId;
 
 public:
@@ -26,7 +27,7 @@ public:
        int getPartNumber();
        int getDataSize();
        Array<char> *getData();
-       Pair<int64_t int32_t> *getPartId();
+       Pair<int64_t, int32_t> *getPartId();
        Pair<int64_t, int64_t> *getCommitId();
        bool isLastPart();
        int64_t getMachineId();