Ref counting
[iotcloud.git] / version2 / src / C / Commit.h
index b8d69faea40039a8e95c3402b54755d6710db394..d9f05a928b96731f8daf8c576c2a8fac6c9b6e46 100644 (file)
@@ -16,6 +16,7 @@ private:
        int64_t machineId;
        int64_t transactionSequenceNumber;
        Hashset<IoTString *> *liveKeys;
+       Array<char> *dataBytes;
        Array<char> *convertDataToBytes();
        void setKVsMap(Hashset<KeyValue *, uintptr_t, 0, hashKeyValue, KeyValueEquals> *newKVs);
 
@@ -35,7 +36,6 @@ public:
        bool isComplete() { return fldisComplete; }
        bool isLive() { return !isDead; }
        void setDead();
-       CommitPart *getPart(int32_t index);
        void createCommitParts();
        void decodeCommitData();
        friend Commit *Commit_merge(Commit *newer, Commit *older, int64_t newSequenceNumber);