edits
[iotcloud.git] / version2 / src / C / Table.h
index 99abb55faf25417ed493280873f6e6d62c58d77a..59ba47216191b268189894ee76604287316d2599 100644 (file)
@@ -98,13 +98,15 @@ private:
        void setResizeThreshold();
        bool sendToServer(NewKey *newKey);
        NewKey * handlePartialSend(NewKey * newKey);
+       bool checkSend(Array<Slot *> * array, Slot *checkSlot);
+
        bool updateFromLocal(int64_t machineId);
        Pair<bool, bool> sendTransactionToLocal(Transaction *transaction);
        bool sendSlotsToServer(Slot *slot, int newSize, bool isNewKey, bool * wasInserted, Array<Slot *> **array);
        /**
         * Returns false if a resize was needed
         */
-       ThreeTuple<bool, int32_t, bool> fillSlot(Slot *slot, bool resize, NewKey *newKeyEntry);
+       bool fillSlot(Slot *slot, bool resize, NewKey *newKeyEntry, int & newSize, bool & insertedKey);
        void doRejectedMessages(Slot *s);
 
        ThreeTuple<bool, bool, int64_t> doMandatoryResuce(Slot *slot, bool resize);