X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iotcloud.git;a=blobdiff_plain;f=version2%2Fsrc%2FC%2FTable.h;h=7cc98abc2ff24dae7f6be3a777b36c2ed0a8d591;hp=a5ea0dc9b3c4095f1c49bca3c4c36d3ed20b37e2;hb=1982d44395bc486667d8b25d6d7763c2ffbf61bc;hpb=6ab6933678c5fe60b9705789584c1d102752fa5b diff --git a/version2/src/C/Table.h b/version2/src/C/Table.h index a5ea0dc..7cc98ab 100644 --- a/version2/src/C/Table.h +++ b/version2/src/C/Table.h @@ -65,12 +65,12 @@ private: Hashtable > *lastMessageTable; // Last message sent by a client machine id -> (Seq Num, Slot or LastMessage); Hashtable *> *rejectedMessageWatchVectorTable; // Table of machine Ids and the set of rejected messages they have not seen yet Hashtable *arbitratorTable;// Table of keys and their arbitrators - Hashtable, Abort *> *liveAbortTable;// Table live abort messages - Hashtable, TransactionPart *> *> *newTransactionParts; // transaction parts that are seen in this latest round of slots from the server - Hashtable, CommitPart *> *> *newCommitParts; // commit parts that are seen in this latest round of slots from the server + Hashtable, Abort *, uintptr_t, 0, pairHashFunction, pairEquals> *liveAbortTable;// Table live abort messages + Hashtable, TransactionPart *, uintptr_t, 0, pairHashFunction, pairEquals> *> *newTransactionParts; // transaction parts that are seen in this latest round of slots from the server + Hashtable, CommitPart *, uintptr_t, 0, pairHashFunction, pairEquals> *> *newCommitParts; // commit parts that are seen in this latest round of slots from the server Hashtable *lastArbitratedTransactionNumberByArbitratorTable; // Last transaction sequence number that an arbitrator arbitrated on Hashtable *liveTransactionBySequenceNumberTable; // live transaction grouped by the sequence number - Hashtable, Transaction *> *liveTransactionByTransactionIdTable; // live transaction grouped by the transaction ID + Hashtable, Transaction *, uintptr_t, 0, pairHashFunction, pairEquals> *liveTransactionByTransactionIdTable; // live transaction grouped by the transaction ID Hashtable > *liveCommitsTable; Hashtable *liveCommitsByKeyTable; Hashtable *lastCommitSeenSequenceNumberByArbitratorTable; @@ -81,7 +81,7 @@ private: Hashtable *> *transactionPartsSent; Hashtable *outstandingTransactionStatus; Hashtable *liveAbortsGeneratedByLocal; - Hashset > *offlineTransactionsCommittedAndAtServer; + Hashset, uintptr_t, 0, pairHashFunction, pairEquals> *offlineTransactionsCommittedAndAtServer; Hashtable > *localCommunicationTable; Hashtable *lastTransactionSeenFromMachineFromServer; Hashtable *lastArbitrationDataLocalSequenceNumberSeenFromArbitrator;