#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
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:
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();