Transaction
Transaction
Section titled “Transaction”#include <sbio/core/transaction.hh>template<class Role, class EPolicy, class StorageT>class TransactionDefined in src/lib/sbio/core/transaction.hh:62
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
Transaction |
function |
Declared here |
Transaction |
function |
Declared here |
Transaction |
function |
Declared here |
view |
function |
Declared here |
commit |
function |
Declared here |
StorageViewType |
typedef |
Declared here |
m_storage |
variable |
Declared here |
m_opened |
variable |
Declared here |
m_view_count |
variable |
Declared here |
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
SBIO_HD |
Transaction inline |
|
SBIO_HD |
Transaction noexcept |
Deleted member function. |
Transaction |
Deleted constructor. | |
SBIO_HDStorageViewType |
view inline |
|
SBIO_HD void |
commit inline |
Transaction
Section titled “Transaction”inline
inline SBIO_HD Transaction(StorageT & storage)Defined in src/lib/sbio/core/transaction.hh:67
Transaction
Section titled “Transaction”noexcept
SBIO_HD Transaction(Transaction && other) noexcept = deleteDefined in src/lib/sbio/core/transaction.hh:84
Deleted member function.
Transaction
Section titled “Transaction”Transaction(const Transaction & other) = deleteDefined in src/lib/sbio/core/transaction.hh:87
Deleted constructor.
inline
inline SBIO_HDStorageViewType view()Defined in src/lib/sbio/core/transaction.hh:90
commit
Section titled “commit”inline
template<class SyncT> inline SBIO_HD void commit(SyncT && sync_vars, IOStatus status)Defined in src/lib/sbio/core/transaction.hh:100
Public Types
Section titled “Public Types”| Name | Description |
|---|---|
StorageViewType |
StorageViewType
Section titled “StorageViewType”using StorageViewType = StorageView< StorageT, EPolicy >Defined in src/lib/sbio/core/transaction.hh:65
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
StorageT & |
m_storage |
|
hd_std::atomic< bool > |
m_opened |
|
hd_std::atomic< hd_std::size_t > |
m_view_count |
m_storage
Section titled “m_storage”StorageT & m_storageDefined in src/lib/sbio/core/transaction.hh:108
m_opened
Section titled “m_opened”hd_std::atomic< bool > m_opened { false }Defined in src/lib/sbio/core/transaction.hh:110
m_view_count
Section titled “m_view_count”hd_std::atomic< hd_std::size_t > m_view_count { 0 }Defined in src/lib/sbio/core/transaction.hh:111