23 #ifndef _MVCC_ACTIVE_TRAN_HPP_ 24 #define _MVCC_ACTIVE_TRAN_HPP_ 103 inline bool is_set (
size_t bit_offset)
const;
116 #endif // !_MVCC_ACTIVE_TRAN_HPP_ size_t get_area_size() const
static const size_t UNIT_BIT_COUNT
MVCCID get_mvccid(size_t bit_offset) const
void reset_start_mvccid(MVCCID mvccid)
static const size_t BITAREA_MAX_BITS
static const unit_type ALL_ACTIVE
void reset_active_transactions()
void cleanup_migrate_to_long_transations()
static const size_t BYTE_BIT_COUNT
bool is_set(size_t bit_offset) const
MVCCID * m_long_tran_mvccids
static size_t long_tran_max_size()
unit_type * get_unit_of(size_t bit_offset) const
static const size_t UNIT_BYTE_COUNT
static const size_t BITAREA_MAX_SIZE
void set_inactive_mvccid(MVCCID mvccid)
volatile size_t m_long_tran_mvccids_length
MVCCID compute_highest_completed_mvccid() const
void remove_long_transaction(MVCCID mvccid)
static size_t bit_size_to_unit_size(size_t bit_count)
volatile MVCCID m_bit_area_start_mvccid
mvcc_active_tran & operator=(const mvcc_active_tran &other)=delete
static const unit_type ALL_COMMITTED
size_t get_bit_area_memsize() const
static size_t units_to_bytes(size_t unit_count)
void set_bitarea_mvccid(MVCCID mvccid)
size_t get_long_tran_memsize() const
static const size_t BITAREA_MAX_MEMSIZE
MVCCID get_bit_area_start_mvccid()
MVCCID compute_lowest_active_mvccid() const
bool is_active(MVCCID mvccid) const
void copy_to(mvcc_active_tran &dest, copy_safety safety) const
size_t get_bit_offset(MVCCID mvccid) const
static unit_type get_mask_of(size_t bit_offset)
static size_t units_to_bits(size_t unit_count)
void ltrim_area(size_t trim_size)
volatile size_t m_bit_area_length
void add_long_transaction(MVCCID mvccid)