X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=version2%2Fsrc%2FC%2FCommitPart.h;h=e0a0d91b4c5f7cc659a298520acf4f761e1f3295;hb=15175037b4697d670a50b5c1362138da2b382137;hp=6d179982a424f2b569f55c079bd5f8f7a8a402d7;hpb=2345e7ea95433815c8cae09c3b719820e0ba44cd;p=iotcloud.git diff --git a/version2/src/C/CommitPart.h b/version2/src/C/CommitPart.h index 6d17998..e0a0d91 100644 --- a/version2/src/C/CommitPart.h +++ b/version2/src/C/CommitPart.h @@ -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 *data; - Pair *partId; + Pair *partId; Pair *commitId; public: @@ -26,7 +27,7 @@ public: int getPartNumber(); int getDataSize(); Array *getData(); - Pair *getPartId(); + Pair *getPartId(); Pair *getCommitId(); bool isLastPart(); int64_t getMachineId();