return fldisComplete;
}
-Pair<int64_t, int64_t> Transaction::getId() {
- return transactionId;
+Pair<int64_t, int64_t> * Transaction::getId() {
+ return & transactionId;
}
void Transaction::setDead() {
}
bool Transaction::evaluateGuard(Hashtable<IoTString *, KeyValue *> *committedKeyValueTable, Hashtable<IoTString *, KeyValue *> *speculatedKeyValueTable, Hashtable<IoTString *, KeyValue *> *pendingTransactionSpeculatedKeyValueTable) {
- SetIterator<KeyValue *> *kvit = keyValueGuardSet->iterator();
+ SetIterator<KeyValue *, KeyValue *> *kvit = keyValueGuardSet->iterator();
while (kvit->hasNext()) {
KeyValue *kvGuard = kvit->next();
// First check if the key is in the speculative table, this is the value of the latest assumption