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);