some more transaction thought on cache
This commit is contained in:
parent
f0779ae2aa
commit
8be63d7551
6 changed files with 241 additions and 58 deletions
|
@ -65,7 +65,7 @@ public:
|
|||
|
||||
TransactionID beginReadOnlyTransaction() const;
|
||||
TransactionID beginTransaction() const;
|
||||
void commitTransaction(TransactionID id) const;
|
||||
void commitTransaction(TransactionID id);
|
||||
void abortTransaction(TransactionID id) const;
|
||||
|
||||
template <class K, class V>
|
||||
|
@ -86,12 +86,12 @@ private:
|
|||
|
||||
TransactionID beginReadOnlyTransaction(const std::string& storageName) const;
|
||||
TransactionID beginTransaction(const std::string& storageName) const;
|
||||
void commitTransaction(TransactionID id, const std::string& storageName) const;
|
||||
void commitTransaction(TransactionID id, const std::string& storageName);
|
||||
void abortTransaction(TransactionID id, const std::string& storageName) const;
|
||||
|
||||
TransactionID beginPrivateReadOnlyTransaction(const std::string& storageName) const;
|
||||
TransactionID beginPrivateTransaction(const std::string& storageName) const;
|
||||
void commitPrivateTransaction(TransactionID id, const std::string& storageName) const;
|
||||
void commitPrivateTransaction(TransactionID id, const std::string& storageName);
|
||||
void abortPrivateTransaction(TransactionID id, const std::string& storageName) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue