#define TRANSACTIONPART_H
#include "common.h"
#include "Entry.h"
+#include "Pair.h"
// Max size of the part excluding the fixed size header
#define TransactionPart_MAX_NON_HEADER_SIZE 512
int64_t machineId;
int64_t arbitratorId;
int64_t clientLocalSequenceNumber; // Sequence number of the transaction that this is a part of
- int partNumber; // Parts position in the
+ int32_t partNumber; // Parts position in the
bool fldisLastPart;
Pair<int64_t, int64_t> *transactionId;
}
int getSize();
- void setSlot(Slot s);
+ void setSlot(Slot* s);
Pair<int64_t, int64_t> *getTransactionId();
int64_t getArbitratorId();
Pair<int64_t, int32_t> *getPartId();