CUBRID Engine  latest
lockfree::tran::system Class Reference

#include <lockfree_transaction_system.hpp>

Collaboration diagram for lockfree::tran::system:
Collaboration graph

Public Member Functions

 system ()=delete
 
 system (size_t max_tran_count)
 
 ~system ()=default
 
index assign_index ()
 
void free_index (index idx)
 
size_t get_max_transaction_count () const
 

Private Attributes

size_t m_max_tran_per_table
 
bitmap m_tran_idx_map
 

Detailed Description

Definition at line 76 of file lockfree_transaction_system.hpp.

Constructor & Destructor Documentation

lockfree::tran::system::system ( )
delete
lockfree::tran::system::system ( size_t  max_tran_count)
lockfree::tran::system::~system ( )
default

Member Function Documentation

index lockfree::tran::system::assign_index ( )
void lockfree::tran::system::free_index ( index  idx)

Definition at line 49 of file lockfree_transaction_system.cpp.

References assert, lockfree::bitmap::free_entry(), lockfree::tran::INVALID_INDEX, and m_tran_idx_map.

Referenced by cubthread::manager::return_lock_free_transaction_entries().

Here is the caller graph for this function:

Member Data Documentation

size_t lockfree::tran::system::m_max_tran_per_table
private

Definition at line 88 of file lockfree_transaction_system.hpp.

Referenced by get_max_transaction_count(), and system().

bitmap lockfree::tran::system::m_tran_idx_map
private

Definition at line 89 of file lockfree_transaction_system.hpp.

Referenced by assign_index(), free_index(), and system().


The documentation for this class was generated from the following files: