Skip to content

Class lf_hash_table_cpp

template <class Key, class T>

ClassList > lf_hash_table_cpp

  • #include <lock_free.h>

Classes

Type Name
class iterator

Public Functions

Type Name
void clear (lf_tran_entry * t_entry)
void destroy ()
void end_tran (lf_tran_entry * t_entry)
bool erase (lf_tran_entry * t_entry, Key & key)
bool erase_locked (lf_tran_entry * t_entry, Key & key, T *& t)
T * find (lf_tran_entry * t_entry, Key & key)
bool find_or_insert (lf_tran_entry * t_entry, Key & key, T *& t)
T * freelist_claim (lf_tran_entry * t_entry)
void freelist_retire (lf_tran_entry * t_entry, T *& t)
size_t get_alloc_element_count () const
size_t get_element_count () const
lf_freelist & get_freelist ()
lf_hash_table & get_hash_table ()
size_t get_size () const
void init (lf_tran_system & transys, int hash_size, int freelist_block_count, int freelist_block_size, lf_entry_descriptor & edes)
bool insert (lf_tran_entry * t_entry, Key & key, T *& t)
bool insert_given (lf_tran_entry * t_entry, Key & key, T *& t)
lf_hash_table_cpp ()
void start_tran (lf_tran_entry * t_entry)
void unlock (lf_tran_entry * t_entry, T *& t)

Public Functions Documentation

function clear

void lf_hash_table_cpp::clear (
    lf_tran_entry * t_entry
) 

function destroy

void lf_hash_table_cpp::destroy () 

function end_tran

void lf_hash_table_cpp::end_tran (
    lf_tran_entry * t_entry
) 

function erase

bool lf_hash_table_cpp::erase (
    lf_tran_entry * t_entry,
    Key & key
) 

function erase_locked

bool lf_hash_table_cpp::erase_locked (
    lf_tran_entry * t_entry,
    Key & key,
    T *& t
) 

function find

T * lf_hash_table_cpp::find (
    lf_tran_entry * t_entry,
    Key & key
) 

function find_or_insert

bool lf_hash_table_cpp::find_or_insert (
    lf_tran_entry * t_entry,
    Key & key,
    T *& t
) 

function freelist_claim

T * lf_hash_table_cpp::freelist_claim (
    lf_tran_entry * t_entry
) 

function freelist_retire

void lf_hash_table_cpp::freelist_retire (
    lf_tran_entry * t_entry,
    T *& t
) 

function get_alloc_element_count

size_t lf_hash_table_cpp::get_alloc_element_count () const

function get_element_count

size_t lf_hash_table_cpp::get_element_count () const

function get_freelist

lf_freelist & lf_hash_table_cpp::get_freelist () 

function get_hash_table

lf_hash_table & lf_hash_table_cpp::get_hash_table () 

function get_size

size_t lf_hash_table_cpp::get_size () const

function init

void lf_hash_table_cpp::init (
    lf_tran_system & transys,
    int hash_size,
    int freelist_block_count,
    int freelist_block_size,
    lf_entry_descriptor & edes
) 

function insert

bool lf_hash_table_cpp::insert (
    lf_tran_entry * t_entry,
    Key & key,
    T *& t
) 

function insert_given

bool lf_hash_table_cpp::insert_given (
    lf_tran_entry * t_entry,
    Key & key,
    T *& t
) 

function lf_hash_table_cpp

lf_hash_table_cpp::lf_hash_table_cpp () 

function start_tran

void lf_hash_table_cpp::start_tran (
    lf_tran_entry * t_entry
) 

function unlock

void lf_hash_table_cpp::unlock (
    lf_tran_entry * t_entry,
    T *& t
) 


The documentation for this class was generated from the following file cubrid/src/base/lock_free.h