libfoedus-core
FOEDUS Core Library
fwd.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014-2015, Hewlett-Packard Development Company, LP.
3  * This program is free software; you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by the Free
5  * Software Foundation; either version 2 of the License, or (at your option)
6  * any later version.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11  * more details. You should have received a copy of the GNU General Public
12  * License along with this program; if not, write to the Free Software
13  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14  *
15  * HP designates this particular file as subject to the "Classpath" exception
16  * as provided by HP in the LICENSE.txt file that accompanied this code.
17  */
18 #ifndef FOEDUS_XCT_FWD_HPP_
19 #define FOEDUS_XCT_FWD_HPP_
20 
25 namespace foedus {
26 namespace xct {
27 class CurrentLockList;
28 struct InCommitEpochGuard;
29 struct LockableXctId;
30 struct LockEntry;
33 struct McsRwLock;
34 struct McsRwBlock; // To be removed
35 struct McsRwSimpleBlock;
36 struct McsRwExtendedBlock;
37 struct McsRwAsyncMapping;
38 struct McsWwLock;
39 struct McsWwBlock;
40 struct PointerAccess;
41 struct ReadXctAccess;
43 struct RwLockableXctId;
44 struct SysxctFunctor;
45 struct SysxctWorkspace;
46 struct WriteXctAccess;
47 class Xct;
48 struct XctId;
49 class XctManager;
51 class XctManagerPimpl;
52 } // namespace xct
53 } // namespace foedus
54 #endif // FOEDUS_XCT_FWD_HPP_
Represents a record of special read-access during a transaction without any need for locking...
Definition: xct_access.hpp:200
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Definition: assert_nd.hpp:44
Represents a record of write-access during a transaction.
Definition: xct_access.hpp:168
Transaction ID, a 128-bit data to manage record versions and provide locking mechanism.
Definition: xct_id.hpp:1107
Represents a user transaction.
Definition: xct.hpp:58
Persistent status part of Transaction ID.
Definition: xct_id.hpp:955
Reader-writer (RW) MCS lock classes.
Definition: xct_id.hpp:387
Represents a record of read-access during a transaction.
Definition: xct_access.hpp:139
An entry in CLL and RLL, representing a lock that is taken or will be taken.
Shared data in XctManagerPimpl.
Represents a record of special write-access during a transaction without any need for locking...
Definition: xct_access.hpp:228
Automatically sets in-commit-epoch with appropriate fence during pre-commit protocol.
The MCS reader-writer lock variant of LockableXctId.
Definition: xct_id.hpp:1132
A functor representing the logic in a system transaction via virtual-function.
Pre-allocated MCS block for WW-locks.
Definition: xct_id.hpp:274
An exclusive-only (WW) MCS lock data structure.
Definition: xct_id.hpp:324
Pre-allocated MCS block for extended version of RW-locks.
Definition: xct_id.hpp:513
Xct Manager class that provides API to begin/abort/commit transaction.
Definition: xct_manager.hpp:35
Pimpl object of XctManager.
Sorted list of all locks, either read-lock or write-lock, taken in the current run.
Represents a record of following a page pointer during a transaction.
Definition: xct_access.hpp:48
An MCS reader-writer lock data structure.
Definition: xct_id.hpp:795
Per-thread reused work memory for system transactions.