Skip to content

Transaction

#include <sbio/core/transaction.hh>
template<class Role, class EPolicy, class StorageT>
class Transaction

Defined in src/lib/sbio/core/transaction.hh:62

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
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

inline

inline SBIO_HD Transaction(StorageT & storage)

Defined in src/lib/sbio/core/transaction.hh:67


noexcept

SBIO_HD Transaction(Transaction && other) noexcept = delete

Defined in src/lib/sbio/core/transaction.hh:84

Deleted member function.


Transaction(const Transaction & other) = delete

Defined in src/lib/sbio/core/transaction.hh:87

Deleted constructor.


inline

inline SBIO_HDStorageViewType view()

Defined in src/lib/sbio/core/transaction.hh:90


inline

template<class SyncT> inline SBIO_HD void commit(SyncT && sync_vars, IOStatus status)

Defined in src/lib/sbio/core/transaction.hh:100

Name Description
StorageViewType

using StorageViewType = StorageView< StorageT, EPolicy >

Defined in src/lib/sbio/core/transaction.hh:65

Return Name Description
StorageT & m_storage
hd_std::atomic< bool > m_opened
hd_std::atomic< hd_std::size_t > m_view_count

StorageT & m_storage

Defined in src/lib/sbio/core/transaction.hh:108


hd_std::atomic< bool > m_opened { false }

Defined in src/lib/sbio/core/transaction.hh:110


hd_std::atomic< hd_std::size_t > m_view_count { 0 }

Defined in src/lib/sbio/core/transaction.hh:111